nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Run PHP4 and PHP5 on Single Server

This is a discussion on Run PHP4 and PHP5 on Single Server within the Web servers forums, part of the Mastering Servers category; Hello, How to run PHP4 and PHP5 on Single RHEL5.1 Server? Can any one provide some documentation. Thanks & Regards, ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-09-2009, 11:13 AM
Junior Member
User
 
Join Date: Sep 2009
OS: Redhat / CentOS
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jaychoksi2003 is on a distinguished road
Default Run PHP4 and PHP5 on Single Server

Hello,

How to run PHP4 and PHP5 on Single RHEL5.1 Server? Can any one provide some documentation.

Thanks & Regards,
Jay Choksi
Reply With Quote
  #2 (permalink)  
Old 11-09-2009, 08:59 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You need to install both php5 and php4 rpms. Once done update httpd.conf to serve *.php5 file as php5 and *.php4 as php4.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply

Tags
centos php4 , centos php5 , php , rhel php4 , rhel php5


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
recompile PHP5 with mysql support in redhat pr_fj CentOS / RHEL / Fedora 2 29-05-2008 02:28 AM
single DHCP server with multiple VLAN's frank Computer Networking and Internet/broadband 2 07-12-2007 12:38 PM
Redhat php5 x86_64 install raj Getting started tutorials 0 05-08-2007 07:59 PM
Download php5 source rpm for Redhat Linux 5 sweta Linux software 1 31-07-2007 04:59 AM
Lighttpd socket with multiple subdomains or single IP muks Web servers 2 17-03-2007 04:48 AM


All times are GMT +5.5. The time now is 03:45 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38