Home > Article > Backend Development > LNMP (linux+nginx+mysql+php) server environment configuration (2) PHP installation
There are many things to install in php: please choose to install according to your own needs
yum install php php-common php-devel php-eaccelerator php-fpm php-gd php-mysql php-pdo php-mbstring php-mcrypt php-xml php-pecl-memcached
groupadd www useradd www -g www
vi /etc/php-fpm.d/www.conf
Quote
user = www
group = www
php_flag[display_errors] = on
php-fpm -t
service php-fpm start
The above introduces the LNMP (linux+nginx+mysql+php) server environment configuration (2) PHP installation, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.