• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

how to enable register_globals on one domain?

N

non

Guest
FATAL ERROR: register_globals is disabled in php.ini, please enable it!

* i'm using plesk windows 9.0
 
Hello,

Check php.ini file located in the PHP 5 installation folder (for example, C:\Program Files\Parallels\Plesk\Additional\PleskPHP5\php.ini) or in the the C:\WINDOWS folders on the system disk.

Regards,
Denis.
 
Copy the system php.ini to httpdocs of the domain and change register_globals to on in this file to have modification for 1 domain. Make sure that php is set to run as cgi and not isapi; to use a custom php.ini
 
In Plesk version 9.2.3

$ vi /var/www/vhosts/domain.com/conf/httpd.include

Add line
php_admin_flag register_globals on
under both virtual host entries :)443, :80)

$ service httpd restart
 
Back
Top