Home Index

Welcome, Guest
Welcome, Guest. Please login or register.
November 24, 2017, 04:44:15 pm
Search:  
Advanced search
WJD Forum Index  |  WestHost Related  |  PHP  |  Topic: Display errors when developeing with .htaccess
Pages: [1] |   Go Down
Print
Author Topic: Display errors when developeing with .htaccess  (Read 30475 times)
Shawn Sorrell
Administrator
Jr. Member
*****
Offline

Gender: Male
Posts: 64



WWW
« 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
Logged

Shawn Sorrell
Remember I am not an expert but a jack of all trades.  Information posted here should be used at your own risk. You are responsible for any changes you make to your account/website.
Pages: [1] |   Go Up
Print
WJD Forum Index  |  WestHost Related  |  PHP  |  Topic: Display errors when developeing with .htaccess
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC