Re: Apache2.0.40/php4.2.2/Win XP home

From: Date: Tue, 20 Aug 2002 01:32:01 +0000
Subject: Re: Apache2.0.40/php4.2.2/Win XP home
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-15358@lists.php.net to get a copy of this message
I just got apache2 and php set up on winXP home after 2 two weeks of playing with it. First, take out the addtype application line, you don't need this line appartently for apache 2. See if that fixes the problem. -Andrew V. Romero Stuart Hamilton wrote:
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


« previous php.windows (#15358) next »