Full Error Logging - Help

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
mrchasez
A semi-regular
A semi-regular
Posts: 23
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Sep 27, 2011 7:16 am

Full Error Logging - Help

Post by mrchasez »

Hello,

Does anyone know how to turn full error logging on via .htaccess? Would putting flags like this into htaccess.txt and then re-naming it work?

php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag log_errors on
php_value error_log /home/path/public_html/domain/PHP_errors.log

Thanks
User avatar
Spray
Former staff
Former staff
Posts: 630
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

Re: Full Error Logging - Help

Post by Spray »

Placing a .htaccess file with this type of content would work for displaying the errors you'd like to see. Please ensure you use the correct path to the file you'd like to log to, or you may get an internal server error when you place the file on the site.
Post Reply