Can anyone help me on how to install the pdo mysql extension from whm. i rebuilt the server and installed it from apache update but it doesn't work. i get the below error.
Fatal error: Class 'PDO' not found in /home/mercygirlsschool/public_html/eduportal/schooloffice/MySqlExcelBuilder.class.php on line 40
Apache uses the system PHP, which you will find here:
/usr/bin/php /usr/local/bin/php /usr/local/apache/modules/libphp5.so
To enable PDO in the system PHP:
+1 to above answer and you can follow as well if wanted to install from Putty...
Enabling PDO in the system using Putty:
Login to Server
Run command as /scripts/easyapache
Select an Apache version Click Next Step Select a version of PHP 5 Click Next Step Click Exhaustive Options List button Scroll down to the check box labeled PDO Click Save and Build