I'm following this tutorial: https://aws.amazon.com/getting-started/hands-on/deploy-wordpress-with-amazon-rds/?refid=dd707452-50b0-4e41-9f2b-d84c7ca273d4 Try it Create my own wordpress server on AWS ec2/rds.
However, I don't want to run this line
sudo amazon-linux-extras install -y lamp-mariadb10.2-php7.2 php7.2
Because WordPress doesn’t like php7.2. This is my second pass and the first thing I discovered is that I need to upgrade php, which seems impossible once installed. I also can't find any way to remove this package after installation. However, I can't find any "newer" way to do this. I ended up having to throw everything away and start over.
How do I get httpd to run wordpress without this?
EDIT: The package shown shows after installation that it has reached the support lifecycle.
Start wordpress on Amazon AWS ec2:
sarojsshrestha.com
Next, you need to run the following command to map the domain to/var/www/html
Now, click on
sarojshrestha.com
on your browser and you should see the Wordpress settings view. Replacesarojsrestha.com
with your actual domain name.By the way, when installing, you may need to change the permissions of the
/var/www/html
folder. If you find any issues you can let me know.