• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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