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.

Running PHP4 + PHP5 Simeltaneously

Discussion in 'General Discussion' started by robotics, Oct 4, 2008.

  1. robotics

    robotics Member

    Joined:
    Sep 6, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hello

    Currently I am running PHP4 on CPanel 11. Many of my sites are programmed accordin to PHP4 so I don't want to take any risk by upgrading to PHP5 but I would like to run both PHP4 & PHP5 simeltaneously on CPanel.

    I found a documentation on net

    http://www.cpanelconfig.com/cpanel-administration/running-php-5-and-php-4-on-the-same-cpanel-server/

    On step 3 I was able to process everything upto

    echo “#define HAVE_SENDMAIL 1″ >> /home/cpphpbuild/php-5.2.4/main/php_config.h
    wget http://www.elix.us/tutorials/php5.gen.cpanel
    chmod 700 php5.gen.cpanel
    ./php5.gen.cpanel

    but when I type make & make install I am getting error

    root@server [/home/cpphpbuild/php-5.2.4]# make
    make: *** No targets specified and no makefile found. Stop.

    root@server [/home/cpphpbuild/php-5.2.4]# make install
    make: *** No rule to make target `install'. Stop.

    Does anyone has step by step guide how to install & configure PHP5 without intrupting PHP4 ?

    Regards
     
  2. nitaish

    nitaish Well-Known Member
    PartnerNOC

    Joined:
    Jan 6, 2006
    Messages:
    123
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Mulund, India, India
    rebuild using easyapache and select both PHP 4 and PHP 5.
     
  3. robotics

    robotics Member

    Joined:
    Sep 6, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Thanks Nitish, I already did the same but getting error when I was installing PHP5 Handler which is missing on my server.

    Do you have any step by step guide to install PHP5 handler on CPanel ???
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hmm, it should just work automatically. Please let our technical analysts take a look at your server. You can do this by submitting a support ticket.
     
Loading...

Share This Page