Re: PHP/Apache installation set up problem
| From: | Dennis Lee | Date: | Thu, 14 Aug 2003 15:04:23 +0000 |
| Subject: | Re: PHP/Apache installation set up problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21154@lists.php.net to get a copy of this message | ||
"Paul Cullen" <paul@malfordplayers.co.uk> дÈëÓʼþ
news:20030814141751.73215.qmail@pb1.pair.com...
> I have just installed Apache on my Windows XP machine, quickly followed by
> an installation of php-4.2.3. When I add the load module line to the
Apache
> httpd.conf file the Apache service refuses to restart and gives me an
error
> message saying that it is an error code 1.
>
> The line I added to httpd.conf is:
>
> LoadModule php4_module c:/php-4.2.3-Win32/sapi/php4apache2.dll
>
> Has anyone any idea what may the problem may be? I would be very grateful
> for some help.
>
> Many thanks in advance,
>
> Paul.
>
>
Hi Paul
try adding " AddType application/x-httpd-php .php " to your httpd.conf .
You have to copy php4ts.dll to c:/php-4.2.3-Win32/sapi .
restart apache and try again .
I hope that helps .
Dennis