It is recommended to try Tencent Cloud first (it’s free anyway)
Command line installation
1. Build mysql database
yum install mysql-server -y service mysqld restart /usr/bin/mysqladmin -u root password 'AAAAAA'
2. Install Apache service
yum install httpd -y service httpd start
3. Install PHP
yum install php php-mysql -y
4. Check whether the installation is Success
<?php phpinfo(); ?> service httpd restart