ea4 php56 pdo_myslq.so
Dear all,
i try to remove the
PHP warning: PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/pdo_mysql.so' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
without any success.
As i can see EA4 do not have pdo_mysql as an option but pdo_msqlnd instead. I attach some images as for the php configuration.
MariaDB 10.3.28-MariaDB
Thank you
-
where do you get this error exactly? 0 -
It's an error_log file name under /home/USER/ directory instead of /home/USER/logs/ one. 0 -
Is it possible that user has a custom php.ini file in their /home/username directory that could be contributing to this error? 0 -
No, unfortunately i see no php.ini file there. 0 -
Hmmm, do you know what specific action causes that error to happen? Usually that indicates there is a duplicate entry in the PHP configuration, which you could check using the WHM >> MultiPHP INI Editor under the Editor Mode to check that. If you aren't able to track that down, feel free to submit a ticket to our team and we can check the system directly for you. 0 -
Thank you CPRex, I have one area that run 5.6 version of php so that warning is generated when i am there. Unfortunately i can not find out the specific page. I tried to find the extension=pdo_mysql.so using WHM >> MultiPHP INI Editor with no success. I have also added the ; extension=pdo_mysql.so at that file without any success. Is there any alternative solution that i could try before continue with the ticket support? Thank you again! 0 -
I can't think of anything else to try. Is there a reason you're hesitant to submit a ticket? 0 -
I would prefer to avoid sharing any access to the server. 0 -
That makes sense - I completely understand. If you create a PHP Info page on the domain does it show any additional files under the "Loaded Configuration" section? 0 -
Thank you! I attach a relative screenshot about your question 0 -
Thanks! One way to see if you can find anything would be to run this command: grep -R "pdo_mysql.so" /opt/cpanel/ea-php56/root/
as that would show any files that have that value set.0 -
Bingo! What is that zzzzzzz-pecl.ini? I think that i should disable the extension from that file or? I open this file and i see these entries: extension = "pdo.so" extension = "pdo_sqlite.so" extension = "pdo_mysql.so" 0 -
Those weird named ones that start with zzz or zzzzzzzz are just named that way to ensure they end up at the end of the list. You can comment those out and then I'm hoping that will resolve the issue. 0 -
Many thanks @cPRex! Solved. I just commented ; extension="pdo_mysql.so" line from that zzzzz ini file and i have received no warning so far. I will continue have that under consideration the next couple of days and i will update! Thank you again! 0 -
Awesome - I'm glad that's working well now! 0
Please sign in to leave a comment.
Comments
15 comments