Sunday, July 23, 2017

How to Enable PDO Extension in Opencart - Solved

[SOLVED] Fatal error: Class 'PDO' not found in /home/avncrowd/public_html/system/library/db/mpdo.php on line 9


On a windows server you can add the following lines in your php.ini
extension=php_pdo.dll
extension=php_pdo_mysql.dll

On a Linux server you can you can add the following lines in your php.ini 
[ compile php with the following option --with-pdo-mysql In your php.ini, add the following lines (optional) ]

extension=pdo.so;
extension=pdo_mysql.so;

OR SIMPLY RENAME THE PHP.INI FILE TO ANY OTHER FILENAME

No comments:

Post a Comment