Hi guys,
I'm somewhat new to PHP, so please excuse what I hope is an easy
question.
I've experienced some issues lately where the code on my development
environment throws no errors, but when I upload to a shared hosting
server errors are thrown.
The latest was when I had output before calling header(); which should
normally throw an error. As mentioned above, this threw no errors on
my local machine but did only when I uploaded to another server.
My setup is:
- PHP 5.2.5
- Windows XP
- Apache
The following is from my php.ini:
- display_errors: On
- error_reporting :8191
I also have error_reporting (E_ALL | E_STRICT); in my project.
Can anyone please let me know what you would run in production in
terms of exception throwing?
Thanks,
Michael
I'm somewhat new to PHP, so please excuse what I hope is an easy
question.
I've experienced some issues lately where the code on my development
environment throws no errors, but when I upload to a shared hosting
server errors are thrown.
The latest was when I had output before calling header(); which should
normally throw an error. As mentioned above, this threw no errors on
my local machine but did only when I uploaded to another server.
My setup is:
- PHP 5.2.5
- Windows XP
- Apache
The following is from my php.ini:
- display_errors: On
- error_reporting :8191
I also have error_reporting (E_ALL | E_STRICT); in my project.
Can anyone please let me know what you would run in production in
terms of exception throwing?
Thanks,
Michael
Comment