Nginx is a Web server, so the Nginx access log only to access the page records, there will be no PHP error log information.Nginx to the PHP request to the PHP-FPM fastcgi process to handle, the default PHP-FPM will only output PHP-FPM error message,
After the Nginx configuration, it is possible that the Web page will not be properly accessed. If it is a path-matching problem, it can be resolved by its error log.
The Nginx error log is configured in nginx.conf:
Error_log logs/error.log Debug;
As teacher Yu in V4.05 after the version of the built-in HTTP service removed, so even if you test the upload success, you can not access. We recommend that you use the Fastdfs-nginx-module module with Nginx,
After building the FASTDFS system, we
Background of solutions to nginx truncation when PHP returns too long
On Sunday, I updated my blog version to the latest version. By the way, I deployed the nginx and PHP environments again. PHP 7 is used. After the new deployment environment, you
Before preparing the Debian-style Tengine deb package, I tried the tengine dynamic loading module function. I think there may be a lot of opportunities for deployment, nginx was not used before because every time a new function needs to be added, it
Tips for optimizing Nginx servers
This article mainly introduces some tips for optimizing the Nginx server, including the configuration suggestions for the HTTP module and the Events module. For more information, see
Most Nginx installation guides
Nginx502 road to installation of NGINX 502
Copy a section of nginx502 before writing the log. The reason is as follows.
I. NGINX 502 error troubleshootingNGINX 502 Bad Gateway error is caused by FastCGI error, which may cause NGINX502 error. List
Nginx compilation and Installation
Nginx is a high-performance Web and reverse proxy server with many excellent features:
As a Web server: Compared with Apache, Nginx uses less resources and supports more concurrent connections, reflecting higher
When you want to monitor a Linux machine, you have many options. Although there are many product quality monitoring solutions (such as Nagios, Zabbix, and Zenoss), they have a gorgeous UI, scalable monitoring, and easy-to-understand reports, these
Nginx is a high-performance HTTP and reverse proxy server, also a IMAP/POP3/SMTP server. In the case of high connection concurrency, Nginx is a good alternative to Apache server: Nginx in the United States is a virtual hosting business owners often
I configured the LNMP environment in Ubuntu, and Nginx configured the error log and access log, everything is normal. at the same time, the PHP-FPM in poolwww. error_log is configured in conf. {code ...} at the same time, I printed phpinfo (); for
: This article mainly introduces the nginx configuration and installation tutorial. if you are interested in the PHP Tutorial, refer to it. Nginx configuration installation tutorial
Nginx ("engine x") is a high-performance HTTP and reverse proxy
: This article describes how to install linuxnginx. if you are interested in the PHP Tutorial, refer to it. Install gcc
Yum install gcc-c ++
First Download
Pcre-8.12.tar.gz
Http://download.csdn.net/detail/qq_22929803/8771933
Tar-zxvf pcre-8.
See an ngx_static example of a module service disk file. We use the following configuration fragment:Location/{root/var/www/;}At the same time, in the local /var/www/ directory to create two files, a file index.html is called, the content is a line
In (a) we mentioned that the value of the Nginx variable has only one type, that is, the string, but the variable may not have a meaningful value at all. A variable that has no value also has two special values: one is "illegal" (invalid) and the
LNMP Introduction: LNMP represents the website server architecture of Nginx + MySQL + PHP in Linux. Linux is a general term for a type of Unix computer operating system and is currently the most popular free operating system. Representative versions
ObjectiveNGX_LUA_WAF is a Web application firewall based on Lua-nginx-module (openresty)GitHub Address:HTTPS://GITHUB.COM/LOVESHELL/NGX_LUA_WAF1 , use:Prevent SQL injection, local containment, partial overflow, fuzzing test, XSS,SSRF and other web
FastDFS installation configuration, fastdfs
FastDFS
FastDFS is customized for the Internet, fully considering redundant backup, load balancing, linear resizing and other mechanisms, and paying attention to high availability, high performance and
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.