Configure wnmp in windows and wnmp in windows
Recently, I tried to configure nginx + php + mysql in windows. Here is a summary.
1. Download nginx for windows. Official Website: http://nginx.org/en/download.htm. download it and decompress it to
Build the wnmp environment and build the wnmp EnvironmentConfigure the nginx + php environment in windows
When I first saw the word nginx, I was curious about its reading method (engine x). My literal translation was "engine x", which generally
Use Nginx in windows to replace apache as the server, nginxapache
To be honest, using Nginx in windows is a little inconvenient, but due to project requirements, you don't want to change the system (although you can have a virtual machine), you can
Nginx "virtual directory" does not support PHP workaround
These days in the configuration nginx,php with fastcgi, want to install a phpMyAdmin management database, phpMyAdmin do not want to put in the root directory of the site, so it is not easy
Nginx can use the server block to set multiple virtual hosts. In the server segment, use the server_name and listen commands to bind domain names and ports. For example: The code is as follows:Copy code Server {Listen 80;Server_name
Group Network Diagram:Configuration information:/usr/local/nginx/conf/nginx.conf on the left NIGX server#user nobody;Worker_processes 1;#error_log Logs/error.log;#error_log Logs/error.log Notice;#error_log Logs/error.log Info;#pid
Environment description
CentOS 7 x64 4-core 2G memory built in VMware 12
The http://blog.csdn.net/u014595668/article/details/50166277 installed MySQL5.7.9 is already installed in the environment
Tools downloadCompilation
an nginx server the same IP is registered multiple different domain names, access to different domain names to the server after the request for different projects the IP address of the Nginx server192.168.155.129assuming that the server has two
Nginx itself cannot 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 return the results to the client.Nginx is generally the request to send fastcgi
IIS is used as a Web server under Win7, but recently because of the requirements of the project, it is necessary to automatically make a turn when the server encounters a 404 error (not on the client's jump, but when the server receives the client
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
This paper describes the method of installing Php+nginx under Windows7. Share to everyone for your reference, specific as follows:
The first is to install PHP
I've already installed the PHP5.2.11 locally. The same is not installed, the official
Used to configure only Nginx or only MongoDB, now combine them with PHP to build a development environment on the Windows platform.
The first step: the installation and configuration of PHPPHP website to download PHP, as to how to install, do not
Therefore, you can run the program directly in your own workspace, but when you use the integration of eclipse3.7 and PDT3.0.2 not allow to fill in the Base URL column of their own workspace directory, online access including English is still no way,
Making Mirrors
1. Download CentOS image
Docker Pull Centos:latest
CentOS version of download is 7.3
2. Start a container by CentOS mirroring
Docker Run-i-T Centos/bin/bash
3. Install the required environment in the container
Reference: Install
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
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
First, change the root directory
Nginx the default Web site root is/usr/local/nginx/html, change it to/home/fuxiao/www
To change the method:
Vi/usr/local/nginx/conf/nginx.conf
Will be one of the
Location/{
root html;
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.