Find the answer to your Linux question:
Results 1 to 5 of 5
Hi all, I am using php-4 with apache 2.0 on redhat linux. Now i need to install php-5 on separate directory without disturbing existing setup.. that is multiple php installation. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! geethas's Avatar
    Join Date
    May 2008
    Posts
    33

    Single apache with mulitple php installation


    Hi all,

    I am using php-4 with apache 2.0 on redhat linux. Now i need to install php-5 on separate directory without disturbing existing setup.. that is multiple php installation.

    thanks in advance
    Sg..

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You can install one version as an apache module and the other as cgi module.

  3. #3
    Just Joined! geethas's Avatar
    Join Date
    May 2008
    Posts
    33
    Thanks for your response. Please Can you give me an example? I am new to php ..

    thanks in advance
    geetha

  4. $spacer_open
    $spacer_close
  5. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    I've never done it myself so can't give you specific details, but search on google for multiple+php+versions and you will see several articles that discuss this issue.

  6. #5
    Just Joined!
    Join Date
    Jun 2008
    Posts
    1
    This article will provide you example on how to install PHP5 as CGI module. This article is for windows, but you can adapt it for Linux with a very few changes:

    Install PHP - Manual Install - Knowledge Base - Support - WITSuite.com - Install and configure Web applications

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •