PHP configuration

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

PHP configuration

Post by John Cartwright »

Its been so long since I've posted a problem of my own... anwyays

I just installed a new webserver (php2triad) which has PHP5 installed. By default, they have no error reporting and I like mine as strict as possible.

So I turned on E_ALL and logging to on, and display errors to on

but the problem is that it will display the error, but if i refresh the page it will go away. and these are common parse errors im testing with..

any suggestions on why this is happening?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

hmm im seeing very unpredicatble results.

I decided to create a class for a website and it returns errors fine.. always there. But now all the errors are returned on 1 line, very hard to read..

how do i get it to return like

error1

error2

instead of error1 error2
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

Post by phpScott »

do you mean your class or php returning errors.
if your class.
Post Reply