Re: errors not showing
| From: | Tim Dunphy | Date: | Sun, 20 May 2012 04:16:35 +0000 |
| Subject: | Re: errors not showing | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-317909@lists.php.net to get a copy of this message | ||
Hello Simon,
Thanks for your response.
However I still can't seem to get errors to show up.
[dunphy@localhost:~/jf-current] #cat /private/etc/php.ini | grep -e
error_reporting -e display_errors
; display_errors
; error_reporting
error_reporting = E_ALL & E_NOTICE
;error_reporting = E_ALL & ~E_DEPRECATED
display_errors = On
; separately from display_errors. PHP's default behavior is to suppress those
; Eval the expression with current error_reporting(). Set to true if you want
; error_reporting(0) around the eval().
[dunphy@localhost:~/jf-current] #sudo apachectl -t
Syntax OK
[dunphy@localhost:~/jf-current] #sudo apachectl restart
[dunphy@localhost:~/jf-current] #uname -a
Darwin localhost 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7
16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 i386
I was wondering if there might be something else I might've missed?
Thanks
Tim
On Sat, May 19, 2012 at 11:57 PM, Simon J Welsh <simon@welsh.co.nz> wrote:
> On 20/05/2012, at 3:55 PM, Tim Dunphy wrote:
>
>> hello, list!
>>
>> I have 'error_reporting = E_ALL' set in my php.ini file. However when
>> I run a php script that has errors in it all that happens is that the
>> page WSODs. I am running Mac OS X 10.6. Any thoughts on why errors
>> don't show up in the browser and how to correct this?
>>
>>
>> Thanks
>> Tim
>
> You also need to set display_errors to On.
> ---
> Simon Welsh
> Admin of http://simon.geek.nz/
>
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B