• 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

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