Bug #61407 [Opn->Nab]: Directive no longer available in PHP
Edit report at https://bugs.php.net/bug.php?id=61407&edit=1
ID: 61407
Updated by: aharvey@php.net
Reported by: spamik at yum dot pl
Summary: Directive no longer available in PHP
-Status: Open
+Status: Not a bug
Type: Bug
Package: *General Issues
PHP Version: 5.4.0
Block user comment: N
Private report: N
New Comment:
1. Startup errors are generated before headers can be sent. Sorry. Disable
display_startup_errors if it's a major problem.
2. This really does need to be a fatal error: there are serious security
implications for developers still relying on magic quotes, and for users with
display_startup_errors turned off, silently allowing a normal-seeming startup is
the worst thing we could do.
Previous Comments:
------------------------------------------------------------------------
[2012-03-15 18:53:34] spamik at yum dot pl
Description:
------------
./php-cgi
<b>Fatal error</b>: Directive 'allow_call_time_pass_reference' is no longer
available in PHP in <b>Unknown</b> on line <b>0</b><br />
<b>Fatal error</b>: Directive 'magic_quotes_gpc' is no longer available in PHP
in
<b>Unknown</b> on line <b>0</b><br />
1) It should return Content-type header before those errors. Without it webserver
wont display error but instead it will generate 500 error
2) It is stupid to throw fatal error on that. Same php.ini are used with multiple
php versions commonly. It should be warrning not fatal error. I get that you are
trying to show programers that magic quotes are finished but still it is bad
decision on fatal error.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61407&edit=1
Thread (2 messages)