Re: FRC: html_erros and docref_root
| From: | Alan Knowles | Date: | Mon, 17 Mar 2003 00:22:37 +0000 |
| Subject: | Re: FRC: html_erros and docref_root | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-66@lists.php.net to get a copy of this message | ||
is it worth make the default use something like the PHPID=..... to point to a short note saying - modify your php.ini configuration file to enable docref links. - PLEASE DO NOT DO THIS ON PRODUCTION BOX's otherwise we will come round with the lart...
Regards
Alan
Marcus Börger wrote:
Hi all I have changed the default ini value for html_errors to 0. I think default ini settings should work for production boxes and noone should have html_errors=On for those. The second thing i changed is that errors are no longer pointing to any documentation if either html_erros=0 or docref_root=''. BUT now we (ok I) changed behavior of phpinfo(), too. However phpinfo() shouldn't have been bound to html_errors in first place. Plase also see http://bugs.php.net/bug.php?id=21007 and i am not the only one saying that this should be solved in another way. The reason i changed the behavior is that (stupid) people use features made to make development life easier (namely html_errors=1 and docref_root=...) on production boxes AND that we got the first bugreport that way. YES someone filed in a bugreport by clicking on a doref'ed html error and clicking like hell on php.net to finally find bugs.php.net.... Since the docref stuff is there to make developers life easier i thing removing it would be the worst opportunity. If you however feel that option is good i guess you are very egocentric and make developers life harder -> ask yourself why php is popular (not everyone knows php as good as we). A quick solution would be to make docref_root default to '' so there are also no links to the manual. But from my point of view the only thing to do is fix bug 21007. However i do not see it as such a big problem to receive one bogus bugreport. enough written on that (feel free to comment on every paragraph) marcus-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com