Linux, if there is a problem, then the best way to row is to view the log, but for performance, some applications, the lack of savings did not open the error log, we need to enable. APACHE # tail&http://www.aliyun.com/zixun/aggregation/37954.html >nbsp; /var/log/apache2/error.log &nbs ...
Nginx modules must be specified at compile time, complete compilation options, available modules can refer to installation options below is an example:./configure \--prefix=/usr \--sbin-path=/usr/sbin/nginx \ conf-path=/etc/nginx/nginx.conf \--error-log-path=/var/log/nginx/error.log \--pid-pat ...
Code: ctrl + y Find: disable_functions found after the = added (here are prohibited in the php inside the function) Code: copy the contents to the clipboard exec, system, passthru, error_log, ini_alter, dl, openlog, syslog, readlink , symlink, link, leak, fsockopen, proc_open, popep ...
Logrote is an application that is used to periodically rename and reuse system error log files. It guarantees that the log files will not take up too much disk space. /etc/logrotate.conf File It logrotate general configuration file. You can use it to set that file to be reused and how often to reuse it. You can set the cycle parameters to be weekly or daily. In the following example, the "weekly" parameter is annotated with "#" and retains the "daily" argument. Cycle entry can also define how many copies of the log to keep http ...
If you need to debug nginx carefully, you need to see its http://www.aliyun.com/zixun/aggregation/10818.html >debug information. This information is not recorded by default, and the following methods show you how to view the information. Debug only one connection, modify the Nginx configuration file to: error_log/var/log/nginx/errors;events {debug_c ...
Web site If the flow is relatively large, then nginx recorded errors, especially the access log is very much, on the space run a few months after the full, causing the server to run abnormally. To avoid this, you can turn off Nginx errors and access records, turn off access records individually, and filter out certain accesses that you do not need to record. First, in http://www.aliyun.com/zixun/aggregation/14840.html "> virtual Host configuration ...
Contact Us
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.