Results 1 to 5 of 5

Thread: How to install PHP 5 in Red Hat Enterprise Linux 5

  1. #1
    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.

  2. #2
    Join Date
    Jan 2008
    Posts
    1,521

    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.

  3. #3
    Join Date
    Feb 2008
    Posts
    1,852

    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.

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    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.

  5. #5
    Join Date
    Oct 2005
    Posts
    2,393

    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.

Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,078,876.27600 seconds with 17 queries