PHP server building tutorial
1. Use the command "yum install httpd" to install Apache;
Install Apache
/etc/init.d/iptables status
Start the Apache service
/etc/init.d/httpd start
2. Enter "yum install mysql mysql-server" to install MySQL;
yum install mysql mysql-server
Start Mysql
/etc/init.d/mysqld start
3. Execute " Just yum install php" to install php.
yum install php php-devel
Then restart Apache
/etc/init.d/httpd restart
Recommended tutorial: "PHP"
The above is the detailed content of PHP server building tutorial. For more information, please follow other related articles on the PHP Chinese website!