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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

php win32 - apache doesnt like dll

Status
Not open for further replies.

Tracey

Programmer
Oct 16, 2000
690
NZ
hi

Ive been stepping through the instructions included with the php package i downloaded from
My problem is, with the line:
LoadModule php4_module bin/php4apache.dll
entered in my httpd.conf, Apache wont start.

yes the file is there.
I have apache 2.0.36, Win2000, and an amazingly small amount of knowledge [sadeyes]
 
no error listed in the error log, however when i try to run apache from command line, it tells me it cant find the module. Interesting points:

with this line

LoadModule php4_module /bin/php4apache.dll

it says could not find c:\bin\php4apache.dll
(actual path is c:\apache\bin\blah

so i changed entry to say
LoadModule php4_module /apache/bin/php4apache.dll

and it says it cant find c:\apache\bin\php4apache.dll

but its there
 
With apache2 all I needed to do was this:

Place php4apache2.dll and php4ts.dll in the apache/modules/ directory.

and in httpd.conf add:

LoadModule php4_module modules/php4apache2.dll
AddType application/x-httpd-php .php
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top