Just see the word nginx, I am very curious about its reading (engine x), my literal translation is "engines X", generally cited "xtras" table performance, and "X" mostly appears to mean "the extra effect", then the whole word meaning is similar to
Project in the light with Nginx, due to the operation and maintenance personnel, rarely set up Nginx server, development is also used Apache, a few times the nginx also forget the fast, every time to go to others blog, today re-set the record,
Computer in front of you, whether also want to let the computer obey you? When you are tired, just say "I am tired", the computer will put the elegant light music to let you relax. Perhaps you want your busy schedule, can let the computer Lang read
[Switch] what are CGI, FastCGI, PHP-CGI, PHP-FPM, and Spawn-FCGI? Reprinted from:
Http://hi.baidu.com/fxchby/blog/item/c041ef0d6c510bf3aa6457dd.html
Http://www.mike.org.cn/articles/what-is-cgi-fastcgi-php-fpm-spawn-fcgi/
What is CGI?
CGI is
Compile and install the PHP5.6 system environment in Linux:
CentOS 6.5/7.0 x86_64
Fedora 20 x86_64Download the PHP source code package
# wget http://cn2.php.net/distributions/php-5.6.0.tar.xz# xz -d php-5.6.0.tar.xz# tar xf php-5.6.0.tar -C
Php. ini or php3.ini is the setting file that PHP reads at startup. The file is stored in usrlocallib. In PHP3.x, the configuration file is php3.ini, and in PHP4.x, it is changed to php. ini. If PHP is installed as a server module, it will be read
This solution uses the latest stable version Nginx compiled by Ruihao open source, fastcgi Process Management using spawn-fcgi, and CentO
There are multiple nginx + php + mysql solutions under CentOS5 VPS. This article describes one of the solutions.
Ubuntu14.04 install LNMP LNMPUbuntu
We usually use centos to build LNMP, but we usually use the ubuntu Desktop version for debugging during development. The following describes in detail how to install an LNMP on ubuntu.
1. download and install
In Windows, if Nginx + PHP is configured, check that php-cgi.exe does not exist in your PHP5 and download the version again. this document uses php 5.2.8 as an example.
1. open php. ini
Locate:; cgi. force_redirect = 1 and remove the semicolon as:
1. nginxinstall: Download the nginx package of the current system version # wgethttp: // response-
1. nginx install:Download the nginx package corresponding to the current system version)
# Wget unzip rpm-ivh
load PHP First1, from the www.php.net download PHP corresponding version 2, after decompression put to the C disk (in fact, it does not matter, Apache will have a configuration point, but Nginx not) 3, Because of the 5.3.17 version, already have php-
1. The application package to be prepared first. Nginx: nginxWindows-1.0.4php: php-5.2.16-nts-Win32-VC6-x86.zip (nginx php is run in FastCGI mode, so we download non-thread security is the php package of ETS) (also used) RunHiddenConsole:
We recommend the Linuxmysql system, which is very useful to you. For example, we want to give you an introduction to the Linuxmysql system. I hope it will be useful for you to specially configure mysqlapachephp today, although there are many
Build WEB + NFS + DNS in CentOS
This experiment uses two web, a php and mysql web1, 2 (172.16.31.30, 31.31) nfs 172.16.31.34
Php 172.16.31.32 mysql 172.16.31.32
Build
1. Set up web
First # mount-t nfs 172.16.31.34:/mydata mount nfs
The web
I. Working Mode of php
Php has three working modes in the lamp environment: CGI Mode, apache module, and FastCGI mode. Running PHP in CGI Mode has poor performance. Run as an apache module. Compile and install lamp in the previous log. The FastCGI
The first part: preparation work. (System: Windows 8.1)1. First, download the software.NGINX-1.3.8 official website Download: http://nginx.org/en/download.htmlPHP5.4.8 version: http://windows.php.net/download/Mysql5.5.28 version:
The first part: preparation work. (System: Windows 8.1)1. First, download the software.Nginx official website Download: http://nginx.org/en/download.htmlPHP Version: http://windows.php.net/download/MySQL version: http://www.mysql.com/downloads/mysql/
In normal times, LNMP is installed on the same machine. I think this is not a challenge for everyone. Next we will remove them to different machines, to allow servers to directly share the original pressure, you can also add nodes to achieve load
CentOS 6.4 install and configure LNMP server to build Wordpress
Preparation:1. configure the firewall to enable port 80 and port 3306
# Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*
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.