Update PHP Version For WordPress On Debian 9

As of April 30, 2020, the current version of Google Cloud Platform’s WordPress Click-to-Deploy deploys WordPress 5.2.3 using PHP version 7.0.33. PHP 7.0.33 was released in January 10, 2019 and since then the PHP developers have released the most recent and stable 7.4.5 version. As a site administrator it is highly essential to update system versions in order to improve both security and performance.

There are many blogs – especially the article from WordPress themselves – which go into details about why updating PHP is important. Since I would be spitting out the exact same details I will not write about it here. However, pages I have visited would simply ask WordPress administrators to contact their webmaster/sysadmins to update the PHP version, which will not fly for an amateur such as myself. In addition, building from source often results in faster performance, so I took on that challenge as well. To serve as future reference, I have created a manual in the process of updating this site from PHP7.0 to PHP7.4.5. Continue on for steps on how to do it yourself!

Read more

Secure Your WordPress Using HTTPS

(Update 2020-04-24: About two years after the making of this article, some of the content has changed, specifically regarding software updates for the GCP Click-To-Deploy VM, as well as different prompts from LetsEncrypt. The post has been updated to reflect the changes.)

This is part 3 of a three-part guide to setting up and configuring WordPress hosted on Google Cloud Platform and registered with a Google Domain URL. Readers should make sure their WordPress instance is running and behaving properly using GCP, have WordPress admin access, and registered their custom domain (eg http://www.example.com) before attempting this section.

Read more