Product:
Search Type:

[Info] How can I enable 'register_globals' for specific domain in Plesk?

Article ID: 5483 
Last Review: Jul,18 2008
APPLIES TO:
  • Plesk for Linux/Unix

RESOLUTION

If you would like to enable it per domain you should add appropriate directive into needed files (for HTTP, 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, 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

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields