Home >Backend Development >PHP Problem >PHP server building tutorial

PHP server building tutorial

Guanhui
GuanhuiOriginal
2020-07-24 13:53:533919browse

PHP server building tutorial

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn