I am writing some maintenance scripts that will run from the command line.
I don't get any errors in the stdout, even where some exist (for example, if I forget a ; )
How do I enable this?
I've set error_reporting and display_errors in the php.ini with no luck!
- Jack
Not getting PHP errors on command line - how to fix?
Moderator: General Moderators
-
basementjack
- Forum Newbie
- Posts: 2
- Joined: Tue Feb 02, 2010 9:28 pm
Re: Not getting PHP errors on command line - how to fix?
Is it the CLI php.ini you have modified? Maybe you've edited the wrong php.ini - e.g. the "Apache" one.
also, what do you mean by "stdout" - do you have any error messages in stderr?
also, what do you mean by "stdout" - do you have any error messages in stderr?
There are 10 types of people in this world, those who understand binary and those who don't