• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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