Home > Article > Backend Development > How to record error log in iis php
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. .
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
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!