Article Recommendations for PHP error_log () functions

Source: Internet
Author: User
Tags nginx reverse proxy
There are 4 types of logs in MySQL: error log, genaral query log, Binary Log, and Slow query log**, error log records error, Warning, note and other information during MySQL operation, system You can view the error log if something goes wrong or a record goes wrong. MySQL error log default to Hostname.err stored in the MySQL log directory, can be viewed through the following statement:mysql> show variables like "log_error"; +---------------+----- -----------+| variable_name | Value &nbs

1. Detailed description of 4 types of logs in MySQL

Summary: MySQL has 4 types of logs: error log, genaral query log, Binary log, and Slow query log**, error log records error, Warning, note, etc. during MySQL operation System error, or if a record is faulty, you can view the error log. MySQL error log default to Hostname.err stored in the MySQL log directory, can be viewed by the following statement: ...

2. Summary of error mechanisms for the PHP5.5.32 version

Summary: What we often confuse is log issues, and why some levels of logging are not recorded in the log. The main thing is to see Error_log,display_errors, log_errors These three configurations, just look at the configuration, we also have to pay attention to distinguish php.ini inside the configuration is what, Php-fpm.ini inside the configuration is what.

3. Apache environment, localhost has been loading, but 127.0.0.1 can be accessed normally

Description: Apache environment localhost:82 problem: Browser input localhost:82, no response (all normal yesterday), but 127.0.0.1:82 can access the situation: 1. The error log is as follows Apache Error.log httpd.conf Red Pen is the place I have changed the Hosts file as follows {generation ...

4. PHP pthreads using mutex when CLI has stop

Summary: pthreads when using mutex locking, the CLI crashes (WIN7) code: {Code ...} If you can tell me where the PHP system log can be (similar to Apache's Error.log). To add: According to the official pthreads is thread-safe, theoretically thread-safe itself ...

5. PHP Apache uses cors for cross-domain

Introduction: APACEH Configuration: <virtualhost *:80> ServerAdmin xxx@qq.com documentroot "C:/htdocs/demo" ServerName dev.dd.cn # # Errorlog "Logs/dummy-host.localhost-error.log" ...

6. Laravel custom error page and error log handling

Introduction:: This article mainly describes the Laravel custom error page and error log processing, for the PHP tutorial interested students can refer to.

7. Why the Nginx php-fpm error log is not displayed

Introduction: I configured the LNMP environment under Ubuntu, where nginx configured the error log and access log, everything is OK. At the same time PHP-FPM is configured with Error_log in pool/www.conf. {Code ...} At the same time, I print phpinfo (), such as: But my php-error.log is no wrong day ...

8. Using Nginx reverse proxy tomcat Service

Introduction:: Using Nginx Reverse proxy tomcat service: Using Nginx reverse proxy Tomcat Service This experiment requires Nginx service and Tomcat service {specifically not how to install} environment: 1.centos6.5 2. Iptables and SELinux shut down 3. Service all start thinking: Specify the corresponding service through Nginx configuration file. nginx.conf configuration content: #user nobody;worker_processes 2; #error_log Logs/error.lo

9. nginx/146 configured Virtual host access prompt "File not found" C9 Continental not found File 404 Not found 404 Not found repair

Description: File not found:nginx/146 configured virtual host access prompt "File not found": View Log Tail/var/log/nginx/error.log, prompt "primary script unknown While the reading response header from upstream "View the configuration file for this virtual host section reads: Location ~. php {#fastcgi_pass remote_php_ip:9000; FASTCG I_pass Uni

Nginx Ignore faviconico log favicon.ico 404 online favicon favicon 1 htm disease

Introduction: Favicon,iconic:nginx Ignore Faviconico log: Description: Favicon.ico occupy Nginx error_log log a lot of information, we really need to view the log to cover. So here we turn it off by log_not_found off. Implementation://Put the following configuration into the server {} block, close Favicon.ico does not exist when logging location =/favicon.ico {log_not_found off;access_log off;} Log_no

"Related question and answer recommendation":

PHP error_log hint file does not exist

Android-Android Project suddenly unable to generate apk how to break?

PHP pthreads using mutex when CLI has stop

Python-apache Server appears c + + runtime error R6034 How to solve?

PHP-Upload batch images at the same time to seven cows and s3,s3 no problem, seven cows often occur timeout, solve

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.