The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Downgrade PHP?

Discussion in 'General Discussion' started by GeekRack-J, Mar 1, 2008.

  1. GeekRack-J

    GeekRack-J Registered

    Joined:
    Mar 1, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I'm wanting to downgrade from PHP5 to PHP4 to run the Ubersmith system, how do I go about doing this?

    Regards
     
  2. viraj

    viraj Well-Known Member

    Joined:
    Sep 28, 2006
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    You can do that from the WHM too. Here are the steps:

    1. Log into WHM using https://serverip:2087
    2. Go to Apache Update link under Software category on the left hand side pane
    3. Click the "Load Previous Config" button in the center top area & then uncheck the current PHP version that's checked and check the new PHP version (such as 4.4.8 or 4.4.7), depending on the version you require. Later on click on 'Start Customizing' button.
    4. Scroll down & select the necessary modules.
    5. Click the "Start Build" button
    6. Wait for the upgrade (rather downgrade) to process (usually this takes around 15-20 minutes)...
     
  3. GeekRack-J

    GeekRack-J Registered

    Joined:
    Mar 1, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hey,

    I've tried this and I ended up with the following error message ;

    Fatal error: Call to undefined function: preg_match() in /home/xdedi/public_html/myserver/setup/index.php on line 50
     
  4. Bailey

    Bailey Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    120
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Wisconsin
    Make sure that PCRE was compiled in with your new PHP 4 build.

    :D Bailey
     
Loading...

Share This Page