Home Index

Welcome, Guest
Welcome, Guest. Please login or register.
December 17, 2018, 12:33:38 pm
Search:  
Advanced search
WJD Forum Index  |  WestHost Related  |  PHP  |  Topic: Turn on display errors universally for PHP
Pages: [1] |   Go Down
Print
Author Topic: Turn on display errors universally for PHP  (Read 11478 times)
Shawn Sorrell
Administrator
Jr. Member
*****
Offline

Gender: Male
Posts: 64



WWW
« on: December 19, 2003, 08:23:09 am »

In /ftp/usr/lib you will find a file called php.ini 
You can edit this file to turn on the display of errors when you are working with a new script and testing it.  You should turn it back off when you are finished testing.

Search for:
Code:
display_errors = Off
Change to:
Code:
display_errors = On

It is going to be the second occurance of it that you want to change.  It is not the one that is in the comments at the top that you want to change.
« Last Edit: December 18, 2007, 07:59:11 am by Shawn Sorrell » 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: Turn on display errors universally for PHP
Jump to:  

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