• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

open_base_dir issue

ShaneNZ

New Pleskian
When trying to access or write to files in a directory that is not part of the current subdomain I get the following error:
Warning: require(): open_basedir restriction in effect. File(/var/www/vhosts/......) is not within the allowed path(s): (/var/www/vhosts/.../..../:/tmp/) in /var/www/vhosts/.../development/....

The version of the plesk installed on the server is 10.3.1

I edited the php.ini(located at: /etc/php5/apache2/) file to set open_base_dir = none

Then restarted the server using:
service apache2 restart

However this has not resolved the issue, what do I need to do to get this working?
 
Hi neither of those articles helps as we have not renamed any of the subscriptions and our server is running php 5.3.2 which is greater than the version recommended in the first article.

Do you have any other suggestions?
 
Back
Top