cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello,

Enabling PDO is simply part of recompiling EasyApache to include it for the PHP modules list. There is no more risk enabling PDO in EasyApache than in enabling any other module we support there. EasyApache does make a backup of the existing configuration prior to running the recompile as well.

Thanks!
 

Asif Nawaz

Member
Jul 30, 2012
6
0
1
London, United Kingdom, United Kingdom
cPanel Access Level
Root Administrator
thanks you :)
This is an old threat, but FYI anyway.

I have PDO enabled in easyApache and it has been recompiled. However, PDO is still not available. For now we are simply adding the following lines to our php.ini file in each account as needed.

extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so

My question is, shall we edit the default php.ini file on our own and the lines to thaty anyway so these become enabled by default?

Thanks
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
They should have been added if you had all of them checked in EasyApache's PHP modules section. If they aren't, please submit a ticket for us to see what is happening. You shouldn't need to add them into the global php.ini file at /usr/local/lib/php.ini location

For one question, could you run "php -v" in command line (without the quotes) and see if you are getting some error message?