RE: [PHP-INST] My Apache 2 server won't restart
| From: | Steve Mosley | Date: | Sun, 19 May 2002 20:05:58 +0000 |
| Subject: | RE: [PHP-INST] My Apache 2 server won't restart | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7036@lists.php.net to get a copy of this message | ||
Still no joy I'm afraid.
Here's a step by step list of what I've got and what I've done.
I run Win XP Pro on a PIII 750Mhz with 640MB RAM
I have installed Apache 2.0.35 win32 binary with the the server root as
d:\darckense.com
This works fine.
I have then installed PHP 4.2.1 and followed the instructions in the
apache installation section of the install.txt. Specifically:
My install directory is C:\PHP
I copied php.ini to my c:\windows folder
I changed the extension_dir to c:\php\entensions
I changed the docroot to d:\darckense.com
On Apache, I edited the httpd.conf file:
LoadModule php4_module c:/php/sapi/php4apachi.dll
AddType application/x-httpd-php .php .phtml
This didn't work so I installed php 4.2.1 but it still doesn't work.
-----Original Message-----
From: MikeParton [mailto:mike.parton@nimblesdg.com]
Sent: 19 May 2002 20:30
To: Steve Mosley
Subject: Re: [PHP-INST] My Apache 2 server won't restart
For php 4.2.0, you have to use the experimental apache filter found in
the
experimental folder in your php directory.
Copy the file apache2filter.dll from the experimental folder to the sapi
folder and modify your apache httpd.conf file to look like this:
LoadModule php4_module "C:/program files/php/sapi/apache2filter.dll"
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
If you upgrade to php 4.2.1, your original httpd.conf lines will work.
----- Original Message -----
From: "Steve Mosley" <darckense@ntlworld.com>
To: "'MikeParton'" <mike.parton@nimblesdg.com>
Sent: Sunday, May 19, 2002 2:30 PM
Subject: RE: [PHP-INST] My Apache 2 server won't restart
> I've got the following additional lines in my httpd.conf file
>
> LoadModule php4_module c:/php/sapi/php4apachi.dll
>
> And
>
> AddType application/x-httpd-php .php
>
> What line do I need to load the apache2filter.dll, or do I load that
> instead of php4apachi.dll?
>
> Or am I way off the beaten track here?
>
> Cheers,
>
>
> ____________________________________ ______________________
> / / /\====================/\
> / Steve Mosley. BPharm MRPharmS / /\/ /\/
> /\ /\ \/ visit /\/
> \/ darckense@ntlworld.com \/ / /\/ #
> / / / www.darckense.com /\/ ##
> /___________________________________/ /____________________\/ ###
>
>
>