Jump to content

register_long_arrays


Recommended Posts

<br />

<b>Deprecated</b>:  Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />

 

I keep getting this error logged in my apache2 log. This thread has quite a detailed answer: http://serverfault.com/questions/196730/php-writing-deprecated-errors-to-apache-error-log as to why it is there and why it says unknown: The problem lies within the php.ini.

 

I'm slightly confused here, am i meant to simply turn register_long_arrays off, or delete them completely from the php.ini?

Link to comment
Share on other sites

You need to turn it off.

 

If you delete the setting from your php.ini file, php will use the default value (which is '1' (on) for that particular setting, depending on php version.)

 

Unless you are using a php version that has actually removed the offending depreciated feature, you must specifically set it to an off value.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.