• 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

register globals in plesk 9

A

aplicasolucion

Guest
hello, i have a old web that use globals var ina a subdomain: https://app.domain.com

in /subdomain/app/conf i have a file vhost_ssl.conf with:

<Directory /var/www/vhosts/domain.com/subdomains/app/httpsdocs>
php_admin_value register_globals on
</Directory>

but no work.

only work changing in php.ini register_globals = on, but is very insecure.

sorry for my english.
 
Three things:
  • Are you sure you really want to do this? is there not a new version of your app that you can upgrade to that doesn't require register globals? - it's a bit PHP3
  • You probably need to use 'php_admin_flag' as it is an on/off setting (i.e. a flag)
  • Have you ran '/usr/local/psa/admin/sbin/websrvmng -a' (manually stop and start your webserver if it still doesn't work)
 
Back
Top