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

open_basedir problem

B

BojanK

Guest
Hello,

I'm using Ubuntu server and Plesk 10.0.1 latest version, and since this morning out of the sudden whiteout any changes made to server for past 20 days my php sites are not working. Once I have enabled display errors in php.ini file located at /etc/php5/apache2/php.ini file I sow this error message

Warning: Unknown: open_basedir restriction in effect. File(/var/www/vhosts/neseco.co/httpdocs/index.php) is not within the allowed path(s): (/var/www/vhosts/neseco.co/httpdocs/:/tmp/) in Unknown on line 0

Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

Fatal error: Unknown: Failed opening required '/var/www/vhosts/neseco.co/httpdocs/index.php' (include_path='.:') in Unknown on line 0

Now I tried any reasonable solution.

1. Adding vhost.conf file to each domain and setting open_basedir none option
2. Modifying php.ini file

It is strange that every website that I'm hosting is not working, Plesk Panel is the only thing that is working under php.

Can anyone suggest as I don't know where and what to look for anymore.

Thank you!
 
Try to configure this domain for run PHP in Application CGI... This setting is in Web Site and Domain and click in domain name you can change php runtime...

I attempt your news! Have a nice day!
 
Problem solved!!

Marco

Thank you, you have saved me the time and trouble, now everything works PERFECT!!

Thank you again.
 
It's a Ubuntu Package BUG!

yesterday night I update php5-common and libapache2-mod-php5 to 5.2.4-2ubuntu5.13....

all php were in blank ...

this is the bug: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/701765


I manually install 5.2.4-2ubuntu5.12 to fix the server.
this morning ubuntu has updated the package to .2.4-2ubuntu5.14 solving the problem but 1and1 official repository still have .2.4-2ubuntu5.13 version....
 
yesterday night I update php5-common and libapache2-mod-php5 to 5.2.4-2ubuntu5.13....

all php were in blank ...

this is the bug: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/701765


I manually install 5.2.4-2ubuntu5.12 to fix the server.
this morning ubuntu has updated the package to .2.4-2ubuntu5.14 solving the problem but 1and1 official repository still have .2.4-2ubuntu5.13 version....

thanks for that, it was realy an ubuntu problem. bug is fixed now.
 
Back
Top