LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > [RESOLVED] LSAPI 5.2 register_long_arrays

Reply
 
Thread Tools Display Modes
  #1  
Old 02-04-2010, 09:05 PM
AndrewT AndrewT is offline
Senior Member
 
Join Date: Jan 2010
Posts: 66
Default [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.

Last edited by NiteWave; 02-09-2010 at 05:34 PM..
Reply With Quote
  #2  
Old 02-04-2010, 10:07 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
You can turn it on with php_value in .htaccess.
register_long_arrays is going to disappear in PHP anyway.
Reply With Quote
  #3  
Old 02-04-2010, 10:16 PM
AndrewT AndrewT is offline
Senior Member
 
Join Date: Jan 2010
Posts: 66
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.
Reply With Quote
  #4  
Old 02-05-2010, 06:19 AM
AndrewT AndrewT is offline
Senior Member
 
Join Date: Jan 2010
Posts: 66
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.
Reply With Quote
  #5  
Old 02-05-2010, 10:16 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
It is intentional. Will change the implementation to make php.ini work.

Last edited by mistwang; 02-05-2010 at 10:31 AM..
Reply With Quote
  #6  
Old 02-05-2010, 10:30 AM
AndrewT AndrewT is offline
Senior Member
 
Join Date: Jan 2010
Posts: 66
Thank you!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:00 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.