KTCHost Official Web Hosting Forum

Technical Support => Tutorials / How tos? => Topic started by: KTCHost on August 02, 2018, 10:29:21 AM

Title: How to enable private PHP Error Logging using .htaccess file
Post by: KTCHost on August 02, 2018, 10:29:21 AM
We can enable the private PHP error logging by using following code in the .htaccess file

Code: [Select]
# enable PHP error logging
php_flag log_errors on
php_value error_log /home/path/public_html/domain/PHP_errors.log

Note : The PHP_errors.log file needs to be permission 755 or 777.

If you have any questions, simple make a reply to this thread and will help you to resolve all queries.