View Single Post
  #3   (View Single Post)  
Old 26th October 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Quote:
For the most part, PHP is very configurable about warnings and errors, or at least the FastCGI and mod_php setups respect that part of php.ini. You should be able to set it to something that will help you out.
Code:
[~]% cat test.php 
<?php
        error_reporting(E_ALL);
        print php_info(;);
?>
[~]% php test.php
Exit 255
error_reporting is already at E_ALL in php.ini, but never hurts to set it twice. display_startup_errors is set to on.

If you have more info, please share. You would do me a huge favor.

Other then this, yeah, it works pretty well. The default messages kind of suck (No backtrace), but as you mentioned that can be configured quite easily.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote