• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be 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.

Plesk 10.4.4 : big pbm with open_basedir restrictions

regisg

Regular Pleskian
Hello,

All my domains hosted in Parallels Plesk Panel are no more accessible by php scripts (like include("/var/www/vhosts/mywebsite.com/config/connect.php") ) ... after update Plesk 10.3 to 10.4.4 !!

It seems that open_basedir restrictions are active again !

I tried again to set :
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
but i get an error : -bash: httpdmng: command not found
i dont understand because i can see httpdmng in the sbin folder !

What is the problem ?

Thx.
 
Check output of following commands:
# ll /usr/local/psa/admin/sbin/httpdmng
-rwxr-x--- 1 root root 535 Nov 2 18:42 /usr/local/psa/admin/sbin/httpdmng

# rpm -qf /usr/local/psa/admin/sbin/httpdmng
plesk-core-10.13.4-cos5.build1013111102.18
 
Thx for you quick answer.

So :

[root@s15464585 /]# ll /usr/local/psa/admin/sbin/httpdmng
-rwxr-x--- 1 root root 535 Nov 2 13:42 /usr/local/psa/admin/sbin/httpdmng
: OK

[root@s15464585 /]# rpm -qf /usr/local/psa/admin/sbin/httpdmng
plesk-core-10.13.4-cos5.build1013111102.18
: OK
 
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
Now it's OK ! Sorry i don't understand what happened...

I restarted Apache but unfortunately i have still the same problem with open_basedir retrictions :-(((
All my subdomains are inaccessible by php scripts
like include("/var/www/vhosts/mywebsite.com/config/connect.php")

Somthing has probably changed in the Apache Configuration...
 
It seems there is something wrong with vhost.conf ...

My open_basedir restrictions allways worked with this configuration :

<Directory /var/www/vhosts/domain/subdomain/>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir none
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir none
</IfModule>
</Directory>

Something has changed ?

Thx.
 
Problem resolved with adding a shared path (/var/www/vhosts/mydomain/config/) in the (new...) open_basedir setting in the php settings of my subdomains.

I put the same path in the php.ini (following : http://kb.parallels.com/432)
open_basedir = "/var/www/vhosts/mydomain/config/"
.... but it didn't work !
 
Back
Top