sudo yum update
sudo yum install nginx
sudo systemctl start nginx
sudo systemctl enable nginx
sudo yum install mysql-server
sudo systemctl start mysqld
sudo systemctl enable mysqld
sudo mysql_secure_installation
sudo yum install php php-mysql
sudo systemctl restart nginx
sudo nano /usr/share/nginx/html/info.php
<?php
phpinfo();
?>
http://<your-server-ip-address>/info.php
php -v
mysql -V
sudo apt-get install php7.2
How can I do this?After installing the older version of PHP, you may need to update your Nginx server configuration to use the older version. Once you've made the necessary changes, restart the Nginx server to apply the updates.
sudo systemctl restart nginx
ForumWeb.Hosting is a web hosting forum where you’ll find in-depth discussions and resources to help you find the best hosting providers for your websites or how to manage your hosting whether you are new or experienced. You’ll find it all here. With topics ranging from web hosting, internet marketing, search engine optimization, social networking, make money online, affiliate marketing as well as hands-on technical support for web design, programming and more. We are a growing community of like-minded people that is keen to help and support each other with ambitions and online endeavors. Learn and grow, make friends and contacts for life.
The world's smartest hosting providers come here to discuss & share what's trending in the web hosting world!