Re: PHP4/PHP5 Apache Modules on Windows

From: Date: Sun, 11 Jan 2004 04:59:59 +0000
Subject: Re: PHP4/PHP5 Apache Modules on Windows
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-6964@lists.php.net to get a copy of this message
On Sun, 11 Jan 2004, DvDmanDT wrote: > 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? Look in ./configure --help - they can both sit in different trees (both the php tree (includes, etc...), and the php config file. It's all there in ./configure. So they can co-exist. > > 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... > See above... + the problem is that php4 and php5 uses some same identical internal names, which will collide if they will be loaded together (x-httpd-php to name one?) > I also run php5 (and php3) as cgi.. php4 is installed as both cgi and module > in my cfg... > > -- Best regards, Shimi ---- "Outlook is a massive flaming horrid blatant security violation, which also happens to be a mail reader." -=The best way to accelerate a Windows machine is at 9.81 m/s^2=- "Windows is a 32-bit port of a 16-bit GUI for an 8-bit OS on a 4-bit CPU made by a 2-bit company that can't stand 1 bit of competition."

« previous php.internals (#6964) next »