• 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.

I hate safe_mode

jospBln

New Pleskian
hello,

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
</IfModule>
</Directory>

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

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
josp
 
Back
Top