Thursday, February 20, 2020

AMI backup created, PHP + Apache Updating

Well, it would appear that updating PHP has broken PHP for Wordpress.

"Your PHP installation appears to be missing the MySQL extension which is required by WordPress."

Sweet

https://help.dreamhost.com/hc/en-us/articles/360004096331-Your-PHP-installation-appears-to-be-missing-the-MySQL-extension-which-is-required-by-WordPress


https://help.dreamhost.com/hc/en-us/articles/214893957-How-do-I-enable-PHP-extensions-and-loaders-


https://help.dreamhost.com/hc/en-us/articles/214200748-My-phprc-file-isn-t-updating


Annoying... I added it to my php.ini file... but it's still not working and I don't see it in the the phpinfo file (http://howtocureinsomnia.com/phpinfo.php).

And even if it does work, I'm not totally clear that mysql will be the right version for all of this...

Easier yet, command "php -v" seems to be telling me all I need to know:

This happens on mysqli, mysql.so, and obviously mysqli.so


I tried "sudo yum install php-mysql --skip-broken" and it installed something that didnt help and I'm guessing caused damage, lol... if so, you can reinstall php 7.3 via this guide: https://bobcares.com/blog/amazon-linux-php-5-6/2/

Just pick up with google search "unable to load dynamic library 'mysql.so' "

Sunday, February 16, 2020

new blog

howtocureinsomnia.com/blog

database prefix on insomniadb is zz_