PHP compiling in LNMP environment [root @ yaho php-5.3.27] # useradd-s/sbin/nologin phpadmin
[Root @ yaho php-5.3.27] # yum install-y libtool-ltdl-devel # solve the problem that the lltdl file cannot be found
[Root @ yaho php-5.3.27] # get http://
Php-fpm startup ?????? Php5.3.3 the source code starts to contain php-fpm. you don't need to fix it any more. you just need to unlock the source code and directly configure it, for php-fpm compilation parameters,-enable-fpm-with-fpm-user =
One: Install Nginx
1. Add a user who cannot log on and does not have a home directory:
# useradd www-m-s/sbin/nologin (www can use Nginx, description is Nginx user)
2, necessary components
# wget
Configure the Lnmp environment with the source code in ubuntu16 and ubuntu16lnmp
Recently, the system was upgraded to the long-term support version of ubuntu16 and the lnmp environment was redeployed.
Specify the directory source code
Nginx and php configurations of linux LNMP (nginx part) and lnmpnginx
Nginx and php configurations of LNMP (nginx part)
1. nginx configuration file/usr/local/nginx/conf/nginx. conf
Clear nginx. conf and copy the following Configuration:
User nobody;
Linux PHP FastCGI1 FastCGIFastCGI: The Fast Universal Gateway Interface (Fast Common gateway interface/fastcgi) is a protocol that lets an interactive program communicate with a Web server.FastCGI is like a resident (long-live) CGI, which can be
Nginx Design is designed to provide a fast, efficient, multi-concurrent Web services software. In the static page processing, Nginx is better than Apache, but in the dynamic page processing, Nginx does not have an advantage over Apache.[[Email
Use the dpkg command to see if the software you need is installed dpkg-l | grep zlib; Which NginxView Port NETSTAT-TUNPL | grep 6379wget http://nginx.org/download/nginx-1.12.0.tar.gzTAR-ZXVF nginx-1.12.0.tar.gzCD nginx-1.12.0./configuresudo make &&
Today saw the bird brother Hair Micro Bo said php7 beta1 beta release, so hurriedly go to preemptive download, the development of their own environment also upgraded to PHP7 go, words not much, the following on a start up ...
First you have to go
The 1 FPM (FastCGI process Manager) replaces most of the additional features of PHP FastCGI and is useful for high-payload sites.Its features include:Support Smooth stop/ start advanced process management function, can work on different uid/gid/"
The FPM (FastCGI process Manager) replaces most of the additional features of PHP FastCGI and is useful for high-payload sites.Its features include:
Advanced process management features that support smooth stop/start;
Can work in
lamp=linux+apache+mysql+php; lnmp=linux+nginx+mysql+php their differences between Apache and Nginx and PHP in a different mode, we are talking about the two architectures, PHP in the form of a module and Apache as a whole, In this case we can remove
Here to declare, for nginx PHP installation and for Apache PHP installation is different, becauseFor Nginx in the PHP is a fastcgi way to combine Nginx. Can be understood as Nginx proxy php fastcgi,and Apache is calling PHP as its own module.
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.