php came back to bite me

I came across trouble with my WordPress site because dropbox hanged. I reinstalled everything and forgot the PHP problem I had earlier. I ended up wasting a day trying to figure out what happened again. I still can’t figure out why php7.4 doesn’t work with the latest WordPress upgrade. Maybe something was wrong with the…

Update to PHP 7.4

WordPress recommends upgrading to PHP 7.4. The installation is quite easy (basically just apt install). However, pages and posts are gone after I switch from 7.2 to 7.4 for my lab website. Yet, there is no problem upgrading my blog site. After several hours, I gave up. No idea why it has such weird behavior….

Installing WordPress on Ubuntu

This guide is great. But one has to install and setup apache and mysql first (if haven’t). I follow this guide and add this line before the earlier guide and then it works perfectly. sudo apt-get install apache2 php5 mysql-server phpmyadmin But be sure to restart apache after installation. sudo /etc/init.d/apache2 restart