WJD Forum Index

WestHost Related => PHP => Topic started by: Shawn Sorrell on December 24, 2007, 09:11:09 am



Title: Display errors when developeing with .htaccess
Post by: Shawn Sorrell on December 24, 2007, 09:11:09 am
When you are developing a script you want to be able to see any errors that may occur including start up errors.  You can do with by createing a .htaccess file with the following and uploading it to the direcotry where your script is.
Code:
php_flag    display_errors          on
    php_flag    display_startup_errors  on
    php_value   error_reporting         2047