PHP errors
Hey Guys,
I am in a bit of a pickle, I am getting numerous errors in the apache log and I cannot figure out how to work around it.
I know this issue is possibly a result of sqlite.so and mcrypt.so not being installed. But I have reconfigured apache via easypache twice and I know they are both selected. I checked the file location and what is currently installed there is opcache.so* pdo_mysql.so* pdo.so* pdo_sqlite.so* suhosin.so* Any help in the right direction is greatly appreciated!
[Mon Dec 21 13:51:48.772346 2015] [:error] [pid 28497] [client] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0/I know this issue is possibly a result of sqlite.so and mcrypt.so not being installed. But I have reconfigured apache via easypache twice and I know they are both selected. I checked the file location and what is currently installed there is opcache.so* pdo_mysql.so* pdo.so* pdo_sqlite.so* suhosin.so* Any help in the right direction is greatly appreciated!
-
Hello :) I suggest uploading a PHPINFO file to the same directory as the PHP file that's producing the error message. You can name the file "phpinfo.php" and add the following line to it:
Then, load the page in your browser, and verify the php.ini file path utilized matches /usr/local/lib/php.ini instead of a local php.ini file uploaded to the account. Thank you.0 -
Hello :) I suggest uploading a PHPINFO file to the same directory as the PHP file that's producing the error message. You can name the file "phpinfo.php" and add the following line to it:
Then, load the page in your browser, and verify the php.ini file path utilized matches /usr/local/lib/php.ini instead of a local php.ini file uploaded to the account. Thank you.
Thankyou Michael! I verified that the loaded php.ini configuration is /opt/alt/php56/etc/php.ini I was able to check into this and found that the user was using a local php.ini0 -
Are you using PHP Selector with Cloud Linux? If so, ensure you view the following document: CloudLinux Documentation Thank you. 0
Please sign in to leave a comment.
Comments
3 comments