Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apache and php help!! 3

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Sytax error on line 2 of D:/server sht/server/conf/httpd.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from.

I have php installed at D:\server sht\server\php and apache server at D:\server sht\server any help i will be gratefull.
 
Hi,

The syntax for using 'LoadModule' on win32 would be similar to this :

LoadModule php4_module "c:/php/sapi/ php4apache.dll"

The first parameter (php4_module) is the symbolic name of the external DSO module and the second parameters is the path to the physical module. On Linux/Unix this is normally a relative path to ServerRoot and is in the form :

modules/mod_php.so

This means <ServerRoot>/modules/mod_php.so

The alternative form is a full path - e.g.

/etc/httpd/modules/mod_php.so

or the windows equivalent as shown above.

Obviously, if you have modules physically located outside of the ServerRoot hierarchy then you must use an absolute path.

Hope this helps




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top