PHP4/PHP5 Apache Modules on Windows

php.internals

Unnamed Person

22 years ago
Again, I'm asking about running both PHP4 and PHP5 on Windows XP as Apache modules. I asked this question a few months ago and was told it was a bad idea. But now, it seems that the latest snapshot (RC1-dev, it seems) has the file php5apache.dll. Can I safely set it up just as I did with PHP4? Will I need to do something different? Can I do it at all? Thanks. Gordon Hemsley P.S. As I was in the middle of writing this e-mail, I remembered being told that it would be better posted to php.general or php.windows (I think). Would it be better to do that? The only reason I'm asking is because the only list that I subscribe to is Internals, so it would be extra effort to do so. Thanks again!

DvDmanDT

22 years ago
Try news://news.php.net/php.general and news://news.php.net/php.windows, that should do it.. :) Might work.. Why not simply try it? :)
-- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com <GPHemsley@aol.com> skrev i meddelandet news:180.248cf843.2d30ff2f@aol.com... > Again, I'm asking about running both PHP4 and PHP5 on Windows XP as Apache > modules. > > I asked this question a few months ago and was told it was a bad idea. But > now, it seems that the latest snapshot (RC1-dev, it seems) has the file > php5apache.dll. Can I safely set it up just as I did with PHP4? Will I need to do > something different? Can I do it at all? Thanks. > > Gordon Hemsley > > P.S. As I was in the middle of writing this e-mail, I remembered being told > that it would be better posted to php.general or php.windows (I think). Would > it be better to do that? The only reason I'm asking is because the only list > that I subscribe to is Internals, so it would be extra effort to do so. Thanks

Jani Taskinen

22 years ago
IIRC, it does not work. And it will not work either. Only way to run both in same apache is to have other one run as CGI. --Jani On Sat, 10 Jan 2004 GPHemsley@aol.com wrote:

DvDmanDT

22 years ago
Why is that? Is it caused by shared memory? Or is it just naming? And if the latter one, couldn't that be called a bug, and be fixed for 5.0, since that would definitly be a nice addition...
-- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Jani Taskinen" <sniper@iki.fi> skrev i meddelandet news:Pine.LNX.4.53.0401110312250.23288@ybpnyubfg.ybpnyqbznva... > > IIRC, it does not work. And it will not work either. > Only way to run both in same apache is to have other one > run as CGI. > > --Jani > > > On Sat, 10 Jan 2004 GPHemsley@aol.com wrote: > > >Again, I'm asking about running both PHP4 and PHP5 on Windows XP as Apache > >modules. > > > >I asked this question a few months ago and was told it was a bad idea. But > >now, it seems that the latest snapshot (RC1-dev, it seems) has the file > >php5apache.dll. Can I safely set it up just as I did with PHP4? Will I need to do > >something different? Can I do it at all? Thanks. > > > >Gordon Hemsley > > > >P.S. As I was in the middle of writing this e-mail, I remembered being told > >that it would be better posted to php.general or php.windows (I think). Would > >it be better to do that? The only reason I'm asking is because the only list > >that I subscribe to is Internals, so it would be extra effort to do so. Thanks

Markus Fischer

22 years ago
On Sat, Jan 10, 2004 at 02:09:35AM -0500, GPHemsley@aol.com wrote :
> Again, I'm asking about running both PHP4 and PHP5 on Windows XP as Apache > modules. > > I asked this question a few months ago and was told it was a bad idea. But > now, it seems that the latest snapshot (RC1-dev, it seems) has the file > php5apache.dll. Can I safely set it up just as I did with PHP4? Will I need to do > something different? Can I do it at all? Thanks.
Faces with the same problem some time ago, albeit on unix, my faourite choice of solution (FCoS [tm]) was to run another instance of Apache with a different httpd.conf file and use the proxy module to to guide the requests through. - Markus