• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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