Home > Backend Development > PHP Problem > How to install PHP environment with yum?

How to install PHP environment with yum?

Guanhui
Release: 2023-03-01 17:04:01
Original
3665 people have browsed it

How to install PHP environment with yum?

How to install PHP environment with yum?

First use the "yum install" command to install "php php-fpm php-mysql nginx";

yum install php php-fpm php-mysql nginx -y
Copy after login

Then configure the "www.conf" configuration file of "php-fpm" ;

vi /etc/php-fpm.d/www.conf
Copy after login

How to install PHP environment with yum?

Finally start "php-fpm" and "nginx".

systemctl start php-fpm
systemctl start nginx
Copy after login

Recommended tutorials: "PHP Tutorial" "Linux"

The above is the detailed content of How to install PHP environment with yum?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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