• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Going insane with open_basedir probs

gwnet

New Pleskian
Vers: Plesk 8.2.1 for Redhat ES

Problem: Trying to set a directory for a php application that is a second hard drive mounted as /home2 I get: Warning: is_dir(): open_basedir restriction in effect. File(/home2/) is not within the allowed path(s)

Ok, i've been going in circles trying various vhost configurations.... whenever I try what is recommended (many iterations, many many different forums) i get the following error when trying to get plesk to reload / rewrite the config file:

[root]# /usr/local/psa/admin/sbin/websrvmng -v -a
Syntax error on line 1 of /home/httpd/vhosts/domain/conf/vhost.conf:
/home/httpd/vhosts/domain/conf/vhost.conf:1: <Directory> was not closed.
websrvmng: Service /etc/rc.d/init.d/httpd failed to gracefully restart
websrvmng: Service /etc/rc.d/init.d/httpd failed to gracefully restart

This is one iteration of the vhost file contents:

<Directory /home/httpd/vhosts/jon.info/httpdocs>
php_admin_value open_basedir "/home/httpd/vhosts/domain/httpdocs:/tmp:/home2"
</Directory>


Does anyone have a definitive solution? I've tried the KB article exact solution, but still doesn't work.... same error...

TIA!!!!!!!!

Jon.
 
Back
Top