• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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