freelance84 Posted December 6, 2011 Share Posted December 6, 2011 <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? Quote Link to comment https://forums.phpfreaks.com/topic/252574-register_long_arrays/ Share on other sites More sharing options...
PFMaBiSmAd Posted December 6, 2011 Share Posted December 6, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/252574-register_long_arrays/#findComment-1294881 Share on other sites More sharing options...
freelance84 Posted December 6, 2011 Author Share Posted December 6, 2011 OK, cool thanks a lot! Quote Link to comment https://forums.phpfreaks.com/topic/252574-register_long_arrays/#findComment-1294883 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.