Note the value of several variables under the start of the change
Program code
Copy Code code as follows:
SET Nginx_path=d:
SET nginx_dir=d:\nginx-0.7.63\
SET php_dir=d:\php\
++++++++++++++++++ Code starts ++++++++++++++++
Cls
PHP-FPM installation is simple, see PHP (PHP-FPM) manual compilation installation. The following is mainly about how to improve the performance of NGINX+PHP-FPM.
1.Unix domain Socket communication
A brief introduction to UNIX domain socket this
The purpose of 0x00 experiment
According to the article "PHP Bypass open_basedir Column Directory Research" by testing different configurations to verify this article's bypass Basedir method is effective, so that the purpose of securely configuring
Small VPS is limited by the system resources, the traffic is too large, more than the system can withstand the limit, a part of the request will be 502. In the case of adequate system resources, optimizing NGINX,PHP-FPM, as well as the system itself,
Description: This tutorial mainly consists of the following three sections:1. Source code Compiler installation Nginx2. Source code Compilation install PHP and MySQL, Redis extension module3. Configure the Virtual hostDownload links are available in
Key monitoring-mysql-nginx-php One, Zabbix monitoring MySQL is configured on the client: [[email protected] ~]# vim /usr/local/zabbix/ etc/chk_mysql.sh#!/bin/bash# ----------------------------------------------------------------------------
VirtualBox Install CENTOS7 and configure the nginx PHP MySQL runtime environment one: VirtualBox install CENTOS7 and make Basic settings1. Download the Dvd.iso installation file: https://www.centos.org/download/I chose the Dvd.iso version, we have
The previous period of tossing, quite a bit of trouble, the process found that many of the online information is older and outdated,So here also simple to rearrange the process, to win a post to solve the problem.Build Nginx, PHP, and MySQL
1. Preparing the installation package, etc.(1) nginx-1.10.1.zip, download link for http://nginx.org/en/download.html. I personally chose the stable version.(2) php-5.6.25-nts-win32-vc11-x86.zip or x64.zip download link is
First, install MySQLAt present, the Web server has rarely run static pages, if you want to run a dynamic site that of course, can not be separated from the database, although in the previous article has written how to install MySQL, but feel for a
Tengine + mysql + nginx + PHP1. Configure the FirewallVim/etc/sysconfig/iptables# Allow 80 ports to pass through the firewall-A input-m state--state new-m tcp-p TCP--dport 80-j ACCEPT# Allow 3306 ports to pass through the firewall-A input-m
This article introduces the nginx + php + mysql solution under Debian5VPS. this solution uses php-fpm as the fastcgi Process Manager. This article is based on the 64-bit Debian5VPS. if it is a 32-bit DebianVPS, modify it in the corresponding section.
How to solve the 404 problem during nginx + php execution
Nginx + php is running 404. how can this problem be solved?
Reply to discussion (solution)
In the nginx configuration file, there is a client_max_body_site = 20 m and keepalive_timeout =
Nginx + PHP uses php_admin_value in php-fpm to set the php variable. after modification, the parameter values in the php. ini configuration file remain unchanged. After the php_admin_value [post_max_size] 4 m is modified, post_max_size4M in php-fpm
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:
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.