• 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/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

websrvmng register_globals

Y

Ysean

Guest
We have a customer that for reasons I don't want to go into requires register_globals on and safe_mode off.

This typically would be fine and dandy BUT, it seems after the most recent updates websrvmng -u --vhost-name=<sitename> does nothing but overwrite the changes in httpd.include. I've also put these changes in vhost.conf and ran websrvmng -u --vhost-name=<sitename>. Neither of these work.

Does ANYONE know what the deal is?

I've created the vhost.conf file as

<Directory <path to site>>
php_admin_flag register_globals on
php_admin_flag safe_mode off
</Directory>
 
You could create an ".htaccess" file in the php directory where the needed script runs.

create an .htaccess file and add:

php_flag safe_mode off
php_flag register_globals on

This has worked for me in the past.
 
Back
Top