Req #65169 [Opn]: php-cgi: Content-type bfore Directive no longer available
| From: | ab@php.net | Date: | Mon, 01 Jul 2013 07:21:19 +0000 |
| Subject: | Req #65169 [Opn]: php-cgi: Content-type bfore Directive no longer available | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-179997@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65169&edit=1
ID: 65169
Updated by: ab@php.net
Reported by: spamik at yum dot pl
Summary: php-cgi: Content-type bfore Directive no longer
available
Status: Open
Type: Feature/Change Request
Package: *General Issues
-PHP Version: 5.3.26
+PHP Version: 5.4Git-2013-06-25 (Git)
Block user comment: N
Private report: N
New Comment:
Not reproducible with 5.3
Previous Comments:
------------------------------------------------------------------------
[2013-06-30 21:02:13] spamik at yum dot pl
Description:
------------
# ./php-cgi -n a.php
X-Powered-By: PHP/5.4.16
Content-type: text/html
# ./php-cgi -n -d magic_quotes_gpc=1 a.php
<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 />
expected:
# ./php-cgi -n -d magic_quotes_gpc=1 a.php
X-Powered-By: PHP/5.4.16
Content-type: text/html
<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 />
Not outputing Content-type header means that apache webserver will only return
500 error without a webmaster actualy seeing error.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65169&edit=1