• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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