By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,089 Members | 1,199 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,089 IT Pros & Developers. It's quick & easy.

Version of PHP 5 that can 'module' together with PHP 4 on Linux/Apache

P: n/a
Folks,
We are slow in rolling out PHP 5 to our users because it
won't live as a module with PHP 4 in Apache 1.3.x/Linux. I have
seen many workaround like running it as CGI or using a reverse proxy
to forward php 5 requests to another server.

Any 'php gods' out there who might know how hard that support
would be to add to a future version of PHP 5, like PHP 5.1. I'm
sure we are not the only hosting provider running into a problem with
upgrading to PHP 5. We have a lot of folks with a large installed
base of PHP 4 code (which some of them are not too familiar with) --
and we really can't drag them into upgrading.

I remember when PHP 4 came out, with a few mods, we were
able to support both 4 and 5 within Apache as modules and it made
the transition a lot easier!

Any thoughts?
--
John
__________________________________________________ _________________
John Murtari Software Workshop Inc.
jmurtari@following domain 315.635-1968(x-211) "TheBook.Com" (TM)
http://thebook.com/
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On 04 Feb 2005 12:53:36 -0500, John Murtari <jm******@thebook.com>
wrote:
Any thoughts?


Use FastCGI.

Jul 17 '05 #2

P: n/a
I wrote a howto: PHP4+PHP5+Apache
http://ondra.zizka.cz/projekty/howto_php5php4single.txt
This is big trouble to thousands of server admins, but PHP developers throw
obstacles under their legs:
My workaround works till some 4.3.6 - then, the last trick that could be
used to merge both under one apache's roof was stymied by PHP developers.
Some new way may appear but that would need an Apache's bug(?) with SetEnv
to be fixed, or new way of handling php.ini in PHP 5.1, like use of the
sections [php5.1]
Bug report: http://bugs.php.net/bug.php?id=30228
If anyone knows why they are so defensive against all attempts to merge
PHP4+PHP5, please let me know!
"John Murtari" <jm******@thebook.com> píse v diskusním príspevku
news:x7************@hammer.thebook.com...
Folks,
We are slow in rolling out PHP 5 to our users because it
won't live as a module with PHP 4 in Apache 1.3.x/Linux. I have
seen many workaround like running it as CGI or using a reverse proxy
to forward php 5 requests to another server.

Any 'php gods' out there who might know how hard that support
would be to add to a future version of PHP 5, like PHP 5.1. I'm
sure we are not the only hosting provider running into a problem with
upgrading to PHP 5. We have a lot of folks with a large installed
base of PHP 4 code (which some of them are not too familiar with) --
and we really can't drag them into upgrading.

I remember when PHP 4 came out, with a few mods, we were
able to support both 4 and 5 within Apache as modules and it made
the transition a lot easier!

Any thoughts?
--
John
__________________________________________________ _________________
John Murtari Software Workshop Inc.
jmurtari@following domain 315.635-1968(x-211) "TheBook.Com" (TM)
http://thebook.com/

Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.