• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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