• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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