Article ID: 5483, created on Jul 18, 2008, last review on May 11, 2014

  • Applies to:
  • Plesk for Linux/Unix

Resolution

If you would like to enable it per-domain, add the appropriate directive into the needed files (for HTTP and HTTPS accordingly).

HTTPD_VHOSTS_D/domain.tld/conf/vhost.conf
HTTPD_VHOSTS_D/domain.tld/conf/vhost_ssl.conf

<Directory HTTPD_VHOSTS_D/domain.com/httpdocs>
php_admin_value register_globals on
</Directory>

For the changes to take effect, you need to run the following command:
PRODUCT_ROOT_D/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=domain.tld

For more information about vhost.conf and vhost_ssl.conf files, please refer to this article.

Additional Information

Warning: This feature has been DEPRECATED and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged. For more information, please refer to http://php.net/manual/en/security.globals.php.

29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF