FAQ

[PHP-BUG] Bug #61407 [NEW]: Directive no longer available in PHP

Spamik at yum dot pl
Mar 15, 2012 at 6:53 pm
From:
Operating system:
PHP version: 5.4.0
Package: *General Issues
Bug Type: Bug
Bug description:Directive no longer available in PHP

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 bug report at https://bugs.php.net/bug.php?id=61407&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61407&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61407&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61407&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=61407&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61407&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=61407&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=61407&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=61407&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=61407&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=61407&r=support
Expected behavior: https://bugs.php.net/fix.php?id=61407&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=61407&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=61407&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=61407&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61407&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61407&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=61407&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=61407&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=61407&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=61407&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=61407&r=mysqlcfg
reply

Search Discussions

1 response

  • Aharvey at Mar 16, 2012 at 1:15 am
    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.



    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post

2 users in discussion

Spamik at yum dot pl: 1 post Aharvey: 1 post