Install the latest LNMP environment in CentOS 7 source code
As the company requires the latest version of ZABBIX2.4.4 to require the latest version of CentOS7 and the latest version of LNMP environment, I am exploring to use the latest version of
This article describes how to install PHP and how to build lnmp-wordpress. it has some reference value. Next, let's take a look at it.
PHP installation and lnmp complete setup-wordpress
Install the required lib Library [root @ lnmp01 tools] #
This article mainly introduces how to connect PHP to the Nginx server and parse Nginx logs. PHP + Nginx is also a very popular server construction solution. For more information, see
Php and nginx integration
PHP-FPM is also a third-party FastCGI
System: CentOS7x86_64NGINX: nginx-1.7.12 database: mariadb-10.0.13PHP: php-5.5.23 first do some preparation work, first replace centos7 firewall into iptables, you can change the centos7 firewall to iptables, and then you can clear the filter rules
The use of pseudo-static in nginx directly writes rules in nginx. conf, and does not require pseudo-static operations like apache to enable the write module (mod_rewrite.Nginx only needs to open the nginx. conf configuration file and write the
I was built in the CENTOS5 environment of the Nginx server, using the PHP-FPM way to drive PHP, the following description of the use of the configuration process.
Environment:
Operating system: CentOS 5
nginx-1.0.12
php-5.3.10
1. Install php-5.3.10
Phar "C:\php\PEAR\go-pear.phar" does not have a signature
PHP warning:require_once(phar://go-pear.phar/index.php): Failed to open Stream:phar error:invalid URL or non-e Xistent Phar "phar://go-pear.phar/index.php" in C:\php\PEAR\go-pear.phar on
Tag: Lis Run 1.0 error One scripts service PATH environment variable installation0. Preparatory workInstalling Wget:yum Install Wget-yInstalling GCC and G++:yum install gcc gcc-c++-yAll subsequent source codes are downloaded to the/USR/LOCAL/SRC
Operating system: Win7 64-bitDatabase: MySQL (Installation configuration not detailed here)Php5.5.30ns (Installation configuration not detailed here)The crux of the problem is that the Nginx server is associated with PHPFirst, the Server software
Nginx's support is high concurrency, strong load balancing, low resource consumption makes it the first choice for Linux Web server, especially for small memory VPS, this is more obvious, make it win Apache.
The installation of LNMP is described
Problem Scenario:
Linux system
Nginx Server
Installed the FPM PHP7.
A new index.php file is created under the Nginx Web directory, with the Phpinfo () function. (If the source is installed, the location is
Configuring nginx support PHP has no input file specified? Just modify the nginx.conf under the installation directory under theLocation ~ \.php$ {root HTML;Fastcgi_pass 127.0.0.1:9000;Fastcgi_index index.php;Fastcgi_param
Zhou clan, finishing technical documents, for the next generation to stay a little tutorial ...Nginx function is not much to say, do not understand the direct Baidu, Nginx + PHP installation is more responsible, often error, online is also everyone
One, by listening to TCP port communicationPhp-fpm.d/www.conf; The address onwhichTo accept FastCGI requests.; Valid syntaxes is:; 'Ip.add.re.ss:port'-To listen in a TCP socket to a specific IPv4 address on; a specific port;; '[ip:6:addr:ess]:p
Reference to the original http://www.cnblogs.com/huayangmeng/archive/2011/06/15/2081337.html
1, first need to prepare the application package.
nginx:nginx/windows-1.1.3
Php:php-5.2.16-nts-win32-vc9-x86.zip (Nginx PHP is run in fastcgi mode, so we
It is said that Nginx is the star of the WEB server for several years, is "Apache Killer", written by Russian programmers. is a lightweight Web server, it is also said to occupy less resources, high concurrency, in some cases, efficiency is 10 times
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.