473,805 Members | 1,929 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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@follow ing domain 315.635-1968(x-211) "TheBook.Co m" (TM)
http://thebook.com/
Jul 17 '05 #1
2 1794
On 04 Feb 2005 12:53:36 -0500, John Murtari <jm******@thebo ok.com>
wrote:
Any thoughts?


Use FastCGI.

Jul 17 '05 #2
I wrote a howto: PHP4+PHP5+Apach e
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=3022 8
If anyone knows why they are so defensive against all attempts to merge
PHP4+PHP5, please let me know!
"John Murtari" <jm******@thebo ok.com> píse v diskusním príspevku
news:x7******** ****@hammer.the book.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@follow ing domain 315.635-1968(x-211) "TheBook.Co m" (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
2435
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 Paquete
0
1986
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 AddType directive we forced php 3 execution for just those files ending in php3. Thought we could do the same with php 5. We have a lot of folks on 4 who may not be ready to upgrade yet, so we were planning on letting php 4 handle anything...
0
1554
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 much faster. upon above idea I have three questions. 1. Is it really worth to replace php code to c and make as apache module?
2
1845
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 pre-installed as RPM version, I would like to know where i can find an RPM upgrade...
2
1581
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 server (Linux), which is operated by a hosting service, has their php setup to run as a CGI executable. So, I'm trying to find out how hard it is to reconfigure to run as an apache module as opposed to a CGI executable on a Linux server. If it's...
16
2761
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, a module change its interface or its implementation in a fundamental way (an example: wxPython). This, I think, can be resolved by allowing an user to explicitly say what version of a module it wants (sush as version numbers in Linux shared...
14
3553
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 updated versions of apache and php for 7.1 (the php version is 4.1.2) on this server, php can access postgres without difficulty. my laptop is also running 7.3.2 along with the apache and php that go with RH 8.0. i found a need to bring up...
7
7821
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}" As far as I know yet -- hence this question -- there is no 'one solution fits all', but instead there are several parts that have to be put together to check. What I have so far is, and would like as much feedback as possible to ensure I've...
3
1496
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 ~Prince~
0
9716
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10609
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10366
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7646
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5677
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4323
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3845
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.