PHP Extensions loading but not working correctly.

nitrophysix

Registered
Jun 13, 2015
3
0
1
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.
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
97
78
India
cPanel Access Level
Root Administrator
Twitter
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello :)

Please post the output from:

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

Thank you.