• 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

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