• 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

Safe Mode Problem

J

jschoaf

Guest
I have read every post in this forum :)

I created vhost.conf

added this

<Directory /home/httpd/vhosts/domain.com/httpdocs>
<IfModule sapi_apache2.c>
php_admin_flag safe_mode off
php_admin_flag register_globals on
</IfModule>
</Directory>


ran this
./websrvmng --reconfigure-vhost --vhost-name=domain.com

and then rebooted apache

Its still not working, any help?

I dont want to turn it off in php.ini again
 
Try just add in ~/conf/vhost.conf:

php_admin_flag safe_mode "Off"
php_admin_flag register_globals "On"

# ./websrvmng -a
# service httpd restart

If not worx then try php_admin_value. I'm use it all time. :rolleyes:
 
Back
Top