• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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