Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 09-02-2010
Member
 
Join Date: Apr 2009
Posts: 61
How to install PHP 5 in Red Hat Enterprise Linux 5

Hi buddies,

I find on google that saw article about how to install PHP 5 under Red Hat Enterprise Linux version 4. But I?m using Red Hat enterprise Linux 5 and I don?t want to muddle up with old version instructions. Is there a method that I can install PHP5 under RHEL 5 without using source rpm? Please advice. Thanks in advance.
Reply With Quote
  #2  
Old 09-02-2010
Member
 
Join Date: Jan 2008
Posts: 1,515
How to install PHP 5 in Red Hat Enterprise Linux 5

You need to run download and install php 5 from RHN and type the following command to install php 5:
Code:
yum install php
You might also would like to install Apache and other php 5 extensions then run the following command.
Code:
# yum install httpd php-gd php-mysql
Best of luck.
Reply With Quote
  #3  
Old 09-02-2010
Member
 
Join Date: Feb 2008
Posts: 1,848
How to install PHP 5 in Red Hat Enterprise Linux 5

If you have CD or DVD, then mount CD/DVD rom and use rpm command to install PHP5.The command is ;
Code:
 rpm -ivh php*
You can also Use GUI package manager to installing PHP. Type the following command to start GUI package manager:
Code:
system-config-package
Now Select PHP under Web Servers and install the same. Anyway, best of luck.
Reply With Quote
  #4  
Old 09-02-2010
Member
 
Join Date: May 2008
Posts: 2,383
Re: How to install PHP 5 in Red Hat Enterprise Linux 5

I can give you tips for safe installing PHP5 on on RedHat 5. Check it:
# Check your rpm -e all the PHP packages that RedHat provide.
# Download the tarball from www.php.net
# Untar it, form cd into the directory and do
./configure
make
make install
You will need the usual build chain extra Apache's dev library at the very smallest amount. You might desire to sprint. /configure --help first and see what choice is available; a number of them will require extra dev libraries, such as for MySQL support.
__________________
The FIFA Manager 2009 PC Game
Reply With Quote
  #5  
Old 09-02-2010
Member
 
Join Date: Oct 2005
Posts: 2,389
How to install PHP 5 in Red Hat Enterprise Linux 5

I advise getting the spec file for the Red Hat PHP rpm, and then use that to make your own RPM, in your own local repo, and use that. This way you obtain the payback of the newest PHP, configured to be as well-matched as possible with your system, and when by YUM for other things, that need PHP, they will be content with your install. Best of luck.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to install PHP 5 in Red Hat Enterprise Linux 5"
Thread Thread Starter Forum Replies Last Post
How to install SUSE Linux Enterprise Server 11 fumble Guides & Tutorials 2 14-06-2012 11:53 AM
Upgrading to Linux Enterprise ES5, need some help! EdEddNEddy Operating Systems 4 22-02-2012 03:22 PM
Virtualization in Red Hat Enterprise Linux 6 Miquel Operating Systems 5 22-12-2010 05:11 AM
How to install Red Hat Enterprise Linux 6 Ander K Operating Systems 4 22-12-2010 01:05 AM
Want to know about Red Hat Enterprise Linux 6.0 Beta 2 Tamkinath Operating Systems 3 18-11-2010 05:36 PM


All times are GMT +5.5. The time now is 11:34 AM.