• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Directive 'register_long_arrays' is no longer available in PHP

MicheleB

Regular Pleskian
Hello,
I've a problem with a script and the php function "register_long_arrays".

I need to disable/remove it from my 11.5 Plesk installation, but I don't know how to do it.
I asked my hosting provider (I've a cloud server) and they have disabled it from the control panel, in the PHP settings (Additional directives) with these instructions:
register_globals = Off
register_long_arrays = Off
register_argc_argv = Off


I've tried but the script continues to generate this error:
"Directive 'register_long_arrays' is no longer available in PHP"

In the "php info page" I saw two php.ini for that domain where the script is installed:
/etc/php5/apache2/php.ini
/var/www/vhosts/system/{domain}/etc/php.ini

The first is the general php.ini for all the server, the second (I have hidden the real domain for privacy reason) is not available, doesn't exist.

In the general php.ini ("/etc/php5/apache2/php.ini") I've found these instructions:
register_globals = Off
register_long_arrays = On
register_argc_argv = On
auto_globals_jit = On

I've asked to my hosting provider but they said me that isn't necessary modify this php.ini, and is necessarily need to take action only from the control panel (PHP settings > Additional directives).

Should I edit manually the "/etc/php5/apache2/php.ini" or the operation could create unstable server?

Thanks
 
Back
Top