Create a user named php with no logon permission and a user group named php to create php users and user groups
First, create a user named php with no logon permission and a user group named php.
####### Create a php user and a php Group [root @
First, IntroductionNginx is a very lightweight HTTP server written by the Russians, Nginx, which is pronounced "engine X" and is a high-performance HTTP and reverse proxy server, as well as a IMAP/POP3/SMTP proxy server. Nginx was developed by the
Install and configure PHP 7.1.12 in CentOS 7
Linux: CentOS 7
Record the installation and configuration process of PHP 7.1.12 in CentOS 7.
Install the dependent package first
Yum install
Pcre-devel zlib-devel openssl-devel gd-devel libjpeg-devel
Yum install nginx + mysql + php command prepare to create directory mkdir directory name chmod777 directory name change permission add to boot startup Item service chkconfig -- addphp-fpmchkconfignginxon find file location often used to find various
1. PrefaceThe previous article described how to compile and install MySQL, although it can be installed through Yum install or RPM, but the Yum install and RPM installation has one feature, that is, some parameters are customized according to the
Nginx PHP-FPM Installation Configuration
Nginx itself can not handle PHP, it is just a Web server, when the request is received, if it is a PHP request, then sent to the PHP interpreter processing, and the results returned to the client.
Nginx is
54312402In the CentOS 7 environment to build a good LNMP environment, found that the installation of PHP has a lot of extensions are not installed, their own installation of a lot of problems encountered in the Internet to find information there is
1, install the following package for the upcoming PHP installation configuration system environment
[root@localhost~] #yum install libxml2 libxml2-developenssl openssl-devel bzip2 bzip2-devel libcurl libcurl-devel Libjpeglibjpeg-devel libpng
Nginx itself can not handle PHP, it is just a Web server, when the request is received, if it is a PHP request, then sent to the PHP interpreter processing, and the results returned to the client.
Nginx is generally the request to send fastcgi
Preparatory workInstall makeYum-y install gcc automake autoconf libtool makeInstalling g++Yum Install gcc gcc-c++The following officially begins---------------------------------------------------------------------------Generally we need to first
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.