• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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