VestaCP php-mysql issues
Posted: Sat Dec 28, 2013 9:13 pm
So... for a very brief time I had MySQL + PHP working fine. At least, up until I started working on fixing the SSL portion. I was able to get it to 500... and as I started to work on that, and worked on fixing the permissions... I run smack dab into this:
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
So, charmedtouches.com/test.php reveals that PHP is pulling its extensions from
But for some reason after the OS upgrade from 13.04 to 13.10... the directory no longer existed, so I recreated it and tried to copy the mysql.so from /usr/lib/php5/20121212.
However... that does not work as one would expect and results in this error:
[28-Dec-2013 12:57:51] NOTICE: PHP message: PHP Warning: PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20121212
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
when service vesta is restarted. How would one fix this specific issue so VestaCP works? Or... well, for that matter, to get PHP/Apache2 working properly once more?
... I must admit, I didn't think I'd encounter so much of an issue from upgrading apache2.2 to apache2.4.
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
So, charmedtouches.com/test.php reveals that PHP is pulling its extensions from
Code: Select all
/usr/local/vesta/php/lib/php/extensions/no-debug-non-zts-20100525
However... that does not work as one would expect and results in this error:
[28-Dec-2013 12:57:51] NOTICE: PHP message: PHP Warning: PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20121212
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
when service vesta is restarted. How would one fix this specific issue so VestaCP works? Or... well, for that matter, to get PHP/Apache2 working properly once more?
... I must admit, I didn't think I'd encounter so much of an issue from upgrading apache2.2 to apache2.4.