|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (12 bit)
Join Date: Feb 2001
Location: UK
Posts: 2,469
|
Setting up Apache Server with PHP
OK, I got the latest version of Apache server (2.0.43) and the latest version of PHP (4.2.3) but can't get them to work
Any tips you can give me... I get this error message Syntax error on line 974 of C:/Apache2/conf/httpd.conf: Cannot load C:/PHP/sapi/php4apache.dll into server: The specified module could not be found. Although that file does exist and I have added this to the bottom of my httpd.conf file as instructed LoadModule php4_module c:/PHP/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php I think I've done everything neccessary but I'm not sure, any ideas? Thanks,
__________________
Jim |
|
|
|
|
|
#2 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
What is on line 974 that is causing the syntax error?
|
|
|
|
|
|
#3 |
|
Member (12 bit)
Join Date: Feb 2001
Location: UK
Posts: 2,469
|
LoadModule php4_module c:/PHP/sapi/php4apache.dll
|
|
|
|
|
|
#4 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
I remeber that you need to copy a DLL file to your windows\system32 in order to run PHP as a module, did you do this?
|
|
|
|
|
|
#5 |
|
Member (13 bit)
|
Or you should be able to add the PHP folder to your PATH statement, which if I remember correctly should also work.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|