1

every time when a page of my site is loaded by someone i got these error in my error log file

PHP Warning:  Module 'PDO' already loaded in Unknown on line 0

PHP Warning:  Module 'pdo_sqlite' already loaded in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so: 

how to resolve this error please help me i dont know how to access these file etc

Zombo
  • 1
  • 62
  • 391
  • 407
  • Look through your php.ini, and if you have a directory like `/etc/php.d/*.ini`. It is probably as simple as having two lines like `extension=pdo.so` and `extension=pdo.sqlite.so` Possibly one in the main php.ini while another pair is in an extension-specific .ini file. – Michael Berkowski Aug 09 '15 at 03:33
  • i tried but php.ini file not found – Jhony Dexter Aug 09 '15 at 03:48
  • Check the output from `phpinfo()` or if you have shell access, from `php -i` to find the path of your system's php.ini file(s). – Michael Berkowski Aug 09 '15 at 16:19

1 Answers1

0

You are using cPanel control panel so you need to check /usr/local/lib/php.ini file on your server.

24x7servermanagement
  • 2,520
  • 1
  • 13
  • 11