How to install Wordpress and PHP 7.3 on a Linode

Deploy LAMP & Wordpress with this Linode StackScript

Install PHP 7.3

Remove PHP 5.6

Configure Apache

Continue configuring Apache

Add the following inside virtual hosts code block.

vim /etc/apache2/sites-enabled/000

Install SSL with certbot-auto

Schedule daily auto-renewal

Add the following to your crontab ( use command ~$crontab -e )

Finish up Wordpress install

Visit your domain name or ip address of the server to finish up the wordpress install. Just follow the instructions and enter the same information which you used in the linode stackscript.

Continue configuring Apache

Configure .htaccess

Your .htaccess should look like this

vim /var/www/html/.htaccess

Configure wp-config.php

Your wp-config.php should look like this

vim /var/www/html/wp-config.php