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
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

I hate safe_mode

Discussion in 'Plesk for Linux - 8.x and Older' started by jospBln, Apr 29, 2006.

  1. jospBln

    jospBln New Pleskian

    Dec 3, 2004
    Likes Received:

    I configured my vhost.conf:
    <Directory /home/httpd/vhosts/domain.tv/httpdocs>

    AddType phtml-script .phtml
    DirectoryIndex index.phtml index.html index.htm index.php
    Action phtml-script /cgi-bin/php-cgi
    AddHandler phtml-script .phtml
    Order allow,deny
    Allow from all
    <IfModule sapi_apache2.c>
    php_admin_flag safe_mode on

    <Directory /home/httpd/vhosts/domain.tv>
    php_admin_value safe_mode 0

    I did
    /usr/local/psa/admin/bin/websrvmng -a

    and restarted apache2.

    But I still get this php error:
    fopen(): SAFE MODE Restriction in effect. The script whose uid is 10004 is not allowed to access /home/httpd/vhosts/domain.tv/httpdocs/bilder/xml owned by uid 30

    What can I do?
    Please, please, please giv me a hint, it makes me crazzzzzzzzzzzyyyyyyyyyyyyyy!

    best regards