Andrew, Thanks for the info.

I managed to get apache to work with a php module after downloading the 
following file and extracting the php4apache2.dll to the sapi dir.

http://snaps.php.net/win32/php4-win32-latest.zip

Check out the latest version 7? of the php manual it has a lot of 
usefull links from other users.  Thats we I found the link.

Stuart


Andrew V. Romero wrote:

> 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
>>
>
>
>
>
>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to