Hi,

I'm working on a development server with the following configuration:

- Apache 2 running at port 80, with PHP v4.3.2 using distribution php.ini
- Apache 2 running at port 81, with PHP v4.3.2 using recommend php.ini
- Apache 2 running at port 82, with PHP v5.0.0b1 using recommend php.ini

On this way I can test my scripts on different PHP versions and
configurations just by changing the port number in my url bar.

I allready have the three different apache servers properly working, and the
two on port 80 and 81 are working fine with php4, but I can't seem to
install php5 working with my Apache 2 webserver. I have downloaded the
'php-5.0.0b1-Win32.zip' file and unzipped it as c:\php5 and placed the
'php4ts.dll' in my windows directory.

In the Apache httpd.conf for the webservers running at port 80 and 81 I got
this line for loading php as module:

        LoadModule php4_module c:/php4/sapi/php4apache2.dll

this works fine, but what line do I need to insert in my Apache httpd.conf
file for loading php5? I've looked online but on php.net it says I need to
insert this line:

        LoadModule php5_module c:/php5/sapi/php5apache2.dll

But there isn't any 'php5apache2.dll' file in the sapi directory, but on
other websites it says the line needs to be:

        LoadModule php5_module c:/php5/sapi/php4apache2.dll

I've tried both lines but when I try to start the Apache webserver I get
this error message 'The requested operation has failed!'.

Does anyone know if and if so then how it's possible to run both php v4.3.2
and v5.0.0b1 on the same Windows server?

Kindly Regards,

Maarten Dubelaar


Reply via email to