Re: Multiple PHP modules
| From: | Ryan Thompson | Date: | Fri, 10 Oct 2003 07:10:53 +0000 |
| Subject: | Re: Multiple PHP modules | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165713@lists.php.net to get a copy of this message | ||
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
--
Ryan Thompson
rthomp@sympatico.ca
http://osgw.sourceforge.net
==============================
"A computer scientist is someone who fixes
things that aren't broken" --Unknown