Home >Backend Development >PHP Problem >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
Then configure the "www.conf" configuration file of "php-fpm" ;
vi /etc/php-fpm.d/www.conf
Finally start "php-fpm" and "nginx".
systemctl start php-fpm systemctl start nginx
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!