[RESOLVED] LSAPI 5.2 register_long_arrays

AndrewT

Well-Known Member
#1
With LSAPI 5.2 and PHP 5.2.12 register_long_arrays = On does not work.

With LSAPI 4.10 and PHP 5.2.12 register_long_arrays = On works as intended.
 
Last edited by a moderator:

AndrewT

Well-Known Member
#3
I've not tested setting it in the .htaccess file using php_value but I don't see how that is even relevant nor can I imagine why that should give different results.

With it set to ON in the php.ini file (and showing up as such in phpinfo()), it does not work with LSAPI 5.2. It works as intended with LSAPI 4.10.

register_long_arrays is set to be removed in PHP 6. That's quite a ways off for most (shared) hosting environments where this setting can actually be a concern.
 

AndrewT

Well-Known Member
#4
Using "php_value register_long_arrays 1" in a .htaccess file does in fact make it work with LSAPI 5.2 even though the setting is already explicitly enabled in the php.ini file.

This still leaves the bug as initially reported. The setting in the php.ini file has no impact, register_long_arrays doesn't work whether it is enabled or not in the php.ini.
 
Top