Home > Server Admin > Display php errors via .htaccess

Display php errors via .htaccess

September 19th, 2011 Leave a comment Go to comments

To troubleshoot white page or ‘Error 500 – Internal server error’ in php scripts.
Add the following php flag to .htaccess file to display the actual error.


php_flag display_errors on

Related posts:

  1. .htaccess Bad Bot Block .htaccess Bad Bot Block ErrorDocument 403 /403.html SetEnvIfNoCase ^User-Agent$ .*(useragent1|useragent2|useragent3)...
  2. WHM Cpanel Scripts and Commands *To install Zend Optimizer use : /scripts/installzendopt *To install Cron...
  3. Faster Adsense Loading Google has updated the show_ads.js Javascript that is used by...
  4. Putty Commands Some Basic putty commands....
  1. No comments yet.
  1. No trackbacks yet.