Module 'PDO' already loaded in Unknown on line 0

Hello everyone. I'm making good progress on my installation. I have the following error in error.log. This file grows to very large sizes, very quickly, and it repeats this set of 4 errors. 


[08-Apr-2019 14:51:11 UTC] PHP Warning:  Module 'PDO' already loaded in Unknown on line 0
[08-Apr-2019 14:51:11 UTC] PHP Warning:  Module 'pdo_sqlite' already loaded in Unknown on line 0
[08-Apr-2019 14:51:11 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php54/root/usr/lib64/php/modules/sqlite.so' - /opt/cpanel/ea-php54/root/usr/lib64/php/modules/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Apr-2019 14:51:11 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php54/root/usr/lib64/php/modules/pdo_mysql.so' - /opt/cpanel/ea-php54/root/usr/lib64/php/modules/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0

I've looked at php.ini in the public_html and in the php.ini owned by root for PHP, but I do not find that anything is loaded more than once. I do not use shared hosting.

I think UNA is loading PDO or sqlite or something, somewhere, but I'm not sure where. Any ideas appreciated.

  • 2715
  • More
Replies (1)
    • Please try to create simple php file with the following contents:

      <?php
      phpinfo();

      and see if this file generates error as well, this will help to identify the error, also you will see on phpinfo screen which php.ini file was loaded to check for duplicate modules loading

      Login or Join to comment.