Upgrading PHP Nginx on Ubuntu 18.04

If you have ever installed WordPress on Ubuntu 18.04 or similar you may have noticed the WordPress warning in site health dashboard for the included default of old PHP 7.2. – “PHP is the programming language used to build and maintain WordPress. Newer versions of PHP are created with increased performance in mind, so you may see a positive effect on your site’s performance. The minimum recommended version of PHP is 7.4.” Furthermore if you do any experimenting with Laravel you may have issues because the latest Laravel 8 is only compatible with PHP7.3 and newer, among other changes.

Continue reading “Upgrading PHP Nginx on Ubuntu 18.04”

Fixing Ubuntu Python-Pip

After you’ve upgraded your Ubuntu machine a few times, you might find that free disk space is low and some Python commands have issues. Programs like Bleachbit can help you clear old packages or cache that you don’t need, but sometimes you need a minor manual fix as documented here. As you may know, Pip is the main package management you’ll use to install packages you use, so this can be problematic.

After upgrading 16.04 to 18.04, I got an error on command line “pip”:

Continue reading “Fixing Ubuntu Python-Pip”