• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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