Re: PHP4/PHP5 Apache Modules on Windows

From: Date: Sun, 11 Jan 2004 04:54:27 +0000
Subject: Re: PHP4/PHP5 Apache Modules on Windows
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-6963@lists.php.net to get a copy of this message
I just realized something.. You couldn't have a single extension enabled, since they both would use the same php.ini, and I would guess modules are binary incompitable.. Also, if a dll with the name php_gd2.dll is loaded by php4, php5 would think it's the same dll if you want GD there as well, wouldn't it? I guess fastcgi or cgi is still the way to go... Until you can specify a different php.ini in Apache... Another idea would be to use no php.ini and set everything in httpd.conf, and manually build them, and name the dll's differently... (php4_gd.dll, php5_gd2.dll etc)... But if there are something like shared memory or something like that, I guess it's just to forget the idea to run them both as modules... I also run php5 (and php3) as cgi.. php4 is installed as both cgi and module in my cfg... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ########################## Please, if you are using windows, you may be infected by Swen. Please go here to find out more: http://us.mcafee.com/virusInfo/default.asp?id=helpCenter&hcName=swen http://securityresponse.symantec.com/avcenter/venc/data/w32.swen.a@mm.html ########################## <GPHemsley@aol.com> skrev i meddelandet news:9.20241f35.2d321255@aol.com... > In a message dated 1/10/2004 8:13:25 PM Eastern Standard Time, sniper@iki.fi > writes: > > 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 > That's the way I currently have it. But I just need to know what Bad > Things(tm) could happen, and then I'll try it out. See how it goes. In response to a > message someone else said, I don't think it has anything to do with the name, > because they're named differently now. So, if the Bad Things (tm) that could > happen are not serious, I try it out anyway and report my findings here. > > Gordon Hemsley >

« previous php.internals (#6963) next »