Re: E_ALL changes in 5.2/6.0

From: Date: Mon, 15 May 2006 03:56:55 +0000
Subject: Re: E_ALL changes in 5.2/6.0
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-23442@lists.php.net to get a copy of this message
At 11:49 AM 5/15/2006, Brian Moon wrote:
Perhaps there should be an ini-development and an ini-production.
"recommended" was born after "dist" because we wanted to show how to run PHP correctly (esp. BC breaking INI parameters such as register_globals=off which are recommended). It's a bit different from development vs. production which I agree would be very helpful. Question is how do we do it? Do we abandon the former for the latter, or is there a way to solve all at once? :)
Andi, if you go back and actually read those files they claim to be 'default settings' and 'production settings' respectively. I agree the whole idea of 'default settings' should be dropped (in this sense), but I think you'll find most people out there take those directives as 'how PHP should be used'. To me it's a tad worrying - given that context - that the error_reporting recommendations are as they are. Since both files are being, if you like, 'marketed' in the way Brian mentioned, it might be a good time to a) rename them in the way he suggested and b) go through those settings with a fine-toothed comb before doing so. Just an opinion, of course... - Steph

« previous php.internals (#23442) next »