• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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