#49362 [Fbk->Opn]: register_long_arrays=On results in Server 500 Internal error
| From: | tomas dot hlavacek at firma dot volny dot cz | Date: | Wed, 26 Aug 2009 07:57:44 +0000 |
| Subject: | #49362 [Fbk->Opn]: register_long_arrays=On results in Server 500 Internal error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-141525@lists.php.net to get a copy of this message | ||
ID: 49362
User updated by: tomas dot hlavacek at firma dot volny dot cz
Reported By: tomas dot hlavacek at firma dot volny dot cz
-Status: Feedback
+Status: Open
Bug Type: PHP options/info functions
Operating System: Windows Server 2008
PHP Version: 5.3.0
New Comment:
Just tried 5.3.1-dev (VC9 thread safe). Same result.
Changing error reporting settings in php.ini doesn't affect showing
that warning message.
Previous Comments:
------------------------------------------------------------------------
[2009-08-25 19:39:59] jani@php.net
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-08-25 16:11:20] tomas dot hlavacek at firma dot volny dot cz
Description:
------------
I'm running php 5.3.0 under IIS 7 (Windows Web Server 2008) as Fast-CGI
module.
Setting directive register_long_arrays=On results in "HTTP Error 500.0
- Internal Server Error".
Look's like Warning message "PHP Warning: Directive
'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown
on line 0" is sent from php to IIS before any headers and cannot be
suppressed in any way. This warning seems to be ignoring any error
reporting settings in php.ini.
Turning this directive Off is not a solution for now. Many of our
customers have to change their php scripts first.
Reproduce code:
---------------
E.G.
<? phpinfo(); ?>
Expected result:
----------------
phpinfo() page
Actual result:
--------------
HTTP Error 500.0 - Internal Server Error
D:\php5\php-cgi.exe - The FastCGI process exited unexpectedly
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49362&edit=1