Copy the configuration directory to another one, change Listen and Port directive to another port of your choice, set up php and instruct apache to use this configuration:
httpd -f /etc/httpd/confPHP5/httpd.conf -DHAVE_PHP5 ....



Ryan Thompson wrote:
I thought that might work but the Apache docs don't list LoadModule as a supported directive in VirtualHost. I did try it today however and it seems I ended up with a runaway server. It wouldn't respond to any request, it would say it couldn't be found and I couldn't stop the server. I had to kill all httpd processes. I may have done something wrong but I think I'll need another solution.

It's possible to run to web servers simultaneous off the same computer isn't it? Each handling different IP address? or at least host names.... Maybe I'll try that tomorrow unless someone stops me and says it's a waste of time. :)


On Thursday 09 October 2003 03:07, Evan Nemerson wrote:


With a bit of httpd.conf wizardry, I believe so. Just put the the
LoadModule and AddType stuff inside the <VirtualHost> containers. PHP5 is
libphp5.so, PHP4 is libphp4.so

I haven't tried it, but it should work.

On Wednesday 08 October 2003 11:33 pm, Ryan Thompson wrote:

Just a quick question. I don't think it's possible but worth a try

Is it possible to load two different PHP modules in apache having them
linked to different virtual hosts? I'm hoping I can run one site with PHP
5 and another with 4.3.x



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



Reply via email to