LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Bug Reports (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=9)
-   -   [RESOLVED] LSAPI 5.2 register_long_arrays (http://www.litespeedtech.com/support/forum/showthread.php?t=3757)

AndrewT 02-04-2010 09:05 PM

[RESOLVED] LSAPI 5.2 register_long_arrays
 
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.

mistwang 02-04-2010 10:07 PM

You can turn it on with php_value in .htaccess.
register_long_arrays is going to disappear in PHP anyway.

AndrewT 02-04-2010 10:16 PM

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 02-05-2010 06:19 AM

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.

mistwang 02-05-2010 10:16 AM

It is intentional. Will change the implementation to make php.ini work.

AndrewT 02-05-2010 10:30 AM

Thank you!

mistwang 02-08-2010 06:51 PM

please check PHP LSAPI 5.3

colorprint 02-09-2010 12:19 AM

I have installed the 5.3 but register_long_arrays still not works :(

AndrewT 02-09-2010 07:14 AM

I can also confirm that it still does not work.

mistwang 02-09-2010 08:13 AM

Sorry, made a mistake, please download the code and try again.


All times are GMT -7. The time now is 11:51 AM.