Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Roll your Own Custom PHP?

Discussion in 'CloudLinux' started by autolux, May 6, 2018.

Tags:
  1. autolux

    autolux Member

    Joined:
    Mar 11, 2010
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    51
    Hi, i've been running centos with cloudlinux for my WHM server with PHP Selector for a while. However, i have a site on legacy PHP 5.2.x i need to run.

    It is working kinda but some functionality is failing under PHP Selector 5.2 (or 5.1 or 5.3)...

    Bringing up phpinfo it appears PHP Selector 5.2 uses PHP 5.2.17.

    In my local xampp test environment, it does not work under 5.2.17 either... only PHP 5.2.3 seems to work correctly. how can I run this custom version under PHP selector?

    looking at the docs;

    CloudLinux Documentation

    it would seem to be possible, but i'm not really sure about how to go about those instructions? any ideas?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,813
    Likes Received:
    84
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    The discussion to this would be more and it is better to consult a professional system administrator who can rebuild/build the required version of PHP for you and make it available for you with customizations in it..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. inteldigital

    inteldigital Active Member

    Joined:
    Apr 5, 2018
    Messages:
    38
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    England
    cPanel Access Level:
    Root Administrator
    Twitter:
    Or, update your legacy code to use newer PHP as that is (without even looking at your code) going to be far easier.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,903
    Likes Received:
    1,814
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @autolux,

    You can access your server via SSH as root to follow the CloudLinux document linked below:

    PHP Selector > Roll your own PHP

    Can you let us know the specific part of this document you need help with?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice