473,396 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

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
2 1777
On 04 Feb 2005 12:53:36 -0500, John Murtari <jm******@thebook.com>
wrote:
Any thoughts?


Use FastCGI.

Jul 17 '05 #2
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Nuno Paquete | last post by:
Hi group. How can I get PHP working under windows, with Apache web server? Where can I find the module? I suppose that I need to install a module like in Linux... Thanks in advance. Nuno...
0
by: John Murtari | last post by:
Folks, We have been running PHP 4.x on Apache 1.3.x with no problems. After the first upgrade from php3 -> php4 were were able to load both modules for php 3 and php 4 with no problem. With an...
0
by: Kim Gijung | last post by:
Hi all, I'm planning to make apache module. I made php code. but it's too slow to handle requests for my project. So i'm thinking if i replace php code to c and make apache module then it maybe...
2
by: seajay | last post by:
hi, I am currently running PHP Version 4.2.2 on Red Hat Linux release 9 (Shrike) with Apache/2.0.40 (Red Hat Linux) I would like to upgrade to the latest version of PHP (4.3.10 ?). PHP was...
2
by: Bughunter | last post by:
I have written some php scripts that use basic HTTP authentication as described in the php manual. It works fine on my development server which runs php as an apache module. But, the production...
16
by: Manlio Perillo | last post by:
Hi. I'm a new user of Python but I have noted a little problem. Python is a very good language but it is evolving, in particular its library is evolving. This can be a problem when, ad example,...
14
by: Richard Welty | last post by:
ok, i'm confused. i have two systems. one is redhat 7.1 (a server in colo, reasonably current), the other is 8.0 (my laptop). the server in colo is running postgresql 7.3.2 along with redhat's...
7
by: Sky | last post by:
I have been looking for a more powerful version of GetType(string) that will find the Type no matter what, and will work even if only supplied "{TypeName}", not the full "{TypeName},{AssemblyName}"...
3
by: Prince of Code | last post by:
Hey all, I would like to build php within apache itself so that it makes my sysadmin life easy. Is there a way to acomplish that ? I would like to do it for windows and for linux. Thx...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.