How to record error log in iis php

藏色散人
Release: 2023-03-04 06:12:01
Original
2931 people have browsed it

iis PHP error log configuration method: first find and open the "php.ini" configuration file; then modify the content to "error_log=/path/to/your/php_errors.log"; finally restart the service. .

How to record error log in iis php

Recommended: "PHP Video Tutorial"

iis php error log

First of all, PHP recording error logs has nothing to do with what web server is used. Just configure in php.ini:

error_log=/path/to/your/php_errors.log
Copy after login

Restart the service.

Note: PHP also supports slow logs Recording, that is, recording functions and files that take more than a specified time. The slowlog feature needs to be supported by PHP-FPM. To use PHP-FPM, please use the Linux server platform.

The above is the detailed content of How to record error log in iis php. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!