Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

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

Article ID: 5483 
Last Review: Oct,6 2008
Author: Dmitry Frantsev
Last updated by: system APPLIES TO:
  • Parallels Plesk Panel 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


Subscription for changes to this article Subscription for changes to this article

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.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products