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.

PHP Extensions loading but not working correctly.

Discussion in 'EasyApache' started by nitrophysix, Oct 9, 2015.

  1. nitrophysix

    nitrophysix Registered

    Joined:
    Jun 13, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hucknall, Nottingham
    cPanel Access Level:
    Root Administrator
    Hello

    We are running CloudLinux with CPanel, We have a website that is complaining that it can not find class "PDO" or the loader "IonCube" after extensive testing we can see both are installed and working, HOWEVER they only work if the php.ini is manually created with the extensions specified inside of them in the users directory for example:

    Code:
    zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.6.so"
    extension=pdo.so
    extension=pdo_sqlite.so
    extension=pdo_mysql.so
    
    Notes:
    Tweak Settings -> PHP -> Ioncube is Enabled
    We have removed reinstalled Ioncube, Rebuilt Apache Numerious times.
    There are no errors in the apache logs file either and not logs or messages when apache is restarted.

    Any ideas? Thanks in advance.
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Try to create phpinfo file on your domain and check which php version and which php file is using your domain. I can see you are using CloudLinux and might be domain is using php version from phpselector
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please post the output from:

    Code:
    /usr/local/cpanel/bin/rebuild_phpconf --current
    Also, are you using CageFS or PHP Selector?

    Thank you.
     
Loading...

Share This Page