Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > PHP "soft" errors

PHP "soft" errors
Thread Tools
Grizzled Veteran
Join Date: Oct 2003
Status: Offline
Reply With Quote
Dec 13, 2003, 11:58 AM
 
Hello all,

I've upgraded my local dev environment to the entropy PHP 4.3.4. Since then, PHP no longer outputs its errors (parse errors, etc) to the screen. Rather if a script fails, it just shows a blank page. This is probably something that would be ok for a live site, but for a dev server it makes developing PHP applications difficult at times. I am sure this is just a PHP configuration var but I'm unable to locate which it might be. Can anyone provide assitance with this one?
     
Grizzled Veteran
Join Date: Oct 2003
Status: Offline
Reply With Quote
Dec 13, 2003, 12:01 PM
 
Guess I was not looking hard enough or was temporarily blind... lol

anyways I found it, its the php config var "display_errors"
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Dec 13, 2003, 10:12 PM
 
By default those errors are written to /var/log/httpd/error_log instead of the screen. You can view this with the "Console" app on Panther, or by doing "tail -f /var/log/httpd/error_log" on any OS in the terminal.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:33 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2