Apache2.0.40/php4.2.2/Win XP home
| From: | Stuart Hamilton | Date: | Fri, 16 Aug 2002 10:39:24 +0000 |
| Subject: | Apache2.0.40/php4.2.2/Win XP home | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-15299@lists.php.net to get a copy of this message | ||
I have read lots of info about this problem on the news group however it has not solved my problem!
I am trying to get PHP 4.2.2 to load up on Apache 2.0.40 as a module but it just ain't working. I follow the instructions and add the following lines to the http.conf file:-
LoadModule php4_module c:/php/sapi/php4apache2.dll
AddType application/x-httpd-php .php .phtml
But when I try and start the server from a command prompt I get the following error:-
Syntax error on line 174 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:
Cannot load C:/php/sapi/php4apache2.dll into server: The specified procedure could not be found.
I have moved the .dll file to the modules directory of the server and still no luck in starting.
HOWEVER, if I set up apache to load PHP as CGI/BIN the server starts and I can display info through the phpinfo cmd.
Is there someting I am doing wrong or is there a bug in the system.
Stewieh
NZ