PHP4/PHP5 both as Apache 2 Modules RHEL 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: PHP4/PHP5 both as Apache 2 Modules RHEL 5

Hi all,

I was wondering if anyone has successfully installed php4 and php5 both as Apache modules on RedHat Linux before.  My situation is that I have legacy authentication code that requires php4.  Sorry, not required, I just don’t have the time to try to figure out how to modify the scripts to run under php5. 

In addition we are moving to a new authentication method that requires PHP5. I would like to have the sites that run with the older version of php4 and the scripts that run with the newer version of php5 installed on the same server so the developers can move over authenticated applications as necessary.

I currently have php5 installed as a module and php4 installed as a cgi binary but there is heavy use of the $_SESSION variables in the scripts and it does not function when php4 is configured as a cgi binary. I keep getting an undefined index error in the apache log that refers to a $_SESSION variable declared in one of the scripts.  

My thought is it would be possible to have 2 virtual named hosts and one run php4 as a module and the other php5 as a module.

Any input or point in the right direction would be appreciated.

Thanks

Denise Lopez

UCLA - Center for Digital Humanities

Network Services

Linux Systems Engineer

337 Charles E. Young Drive East

PPB 1020

Los Angeles, CA 90095-1499

310/206-8216

Picture (Device Independent Bitmap)


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux