Author Topic: How to enable private PHP Error Logging using .htaccess file  (Read 9513 times)

Offline KTCHost

  • Administrator
  • Newbie
  • *****
  • Posts: 10
  • Karma: +0/-0
    • View Profile
    • KTCHost Web hosting provider - Buy web hosting, VPS, Dedicated servers
How to enable private PHP Error Logging using .htaccess file
« 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.
█ ktchost.com - Reliable Web Hosting Provider
█ E-commerce Ready Hosting | Pure SSD Cloud/VPS | Offshore Dedicated Server
█ 24/7 Reliable Tech Support | Monitoring Service | R1Soft Backup