• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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