1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

Safe Mode Problem

Discussion in 'Plesk for Linux - 8.x and Older' started by jschoaf, Mar 24, 2005.

  1. jschoaf

    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

    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

    GARMTECH Guest

    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:
  3. ad7742

    ad7742 Guest