php mysqli.so
Hi guys! we have an issue with our whm server. I have install modx site, but is not working and I discover in the error log the following:
I check the php configuration and the extension enable are pdo.so, pdo_sqlite.so, pdo_mysql.so, mysqli.so also the directory is /usr/local/lib/php/extensions/no-debug-non-zts-20131226
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/mysqli.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
I check the php configuration and the extension enable are pdo.so, pdo_sqlite.so, pdo_mysql.so, mysqli.so also the directory is /usr/local/lib/php/extensions/no-debug-non-zts-20131226
-
Hello :), You have root access so you can check mysqli extensions with the following command. php -m | grep mysqli
Also, You can create phpinfo page under your domain directory and check that through browser. With the phpinfo page you can check mysqli extensions and php.ini file path which is using your domain.0 -
Hello, Could you verify if you are using EasyApache 4? If so, please ensure to review the following documents regarding php.ini files, as it's possible the error message stems from the use of a local php.ini file under the account: How to Edit Your php.ini File - cPanel Knowledge Base - cPanel Documentation cPanel's PHPRC PHP Patch for EasyApache 4 - EasyApache 4 - cPanel Documentation Thank you. 0 -
Hello :), You have root access so you can check mysqli extensions with the following command.
php -m | grep mysqli
Also, You can create phpinfo page under your domain directory and check that through browser. With the phpinfo page you can check mysqli extensions and php.ini file path which is using your domain.
Hi! I try your code and I get just mysqli extension. Hello, Could you verify if you are using EasyApache 4? If so, please ensure to review the following documents regarding php.ini files, as it's possible the error message stems from the use of a local php.ini file under the account: Thank you.
I also update to EasyApache 4 and still not working. Also i review php.ini. Thank you for all but still having troubles.0 -
I also update to EasyApache 4 and still not working. Also i review php.ini.
Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.0 -
Hi, From your home dir run the following command find ./ -iname "php.ini"
There may be a local php.ini in your home directory0 -
Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.
Hi, thank you for your interest. I have a ticket opened by id 7602869 Thanks.0
Please sign in to leave a comment.
Comments
6 comments