PHP server building tutorial

Guanhui
Release: 2023-03-03 09:18:02
Original
3777 people have browsed it

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
Copy after login

Start the Apache service

/etc/init.d/httpd start
Copy after login

2. Enter "yum install mysql mysql-server" to install MySQL;

yum install mysql mysql-server
Copy after login

Start Mysql

/etc/init.d/mysqld start
Copy after login

3. Execute " Just yum install php" to install php.

yum install php php-devel
Copy after login

Then restart Apache

/etc/init.d/httpd restart
Copy after login

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!