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

  1. K

    Issue Cannot add custom folder to the open_basedir PHP option.

    I have a drupal hosted in my plesk and the private folder is above the {WEBSPACEROOT} route. So it is not possible to add new folders with the default plesk value for the open_basedir configuration. So I tried to add a new route in the open_basedir configuration. I tried to use the absolute path...
  2. N

    Question open_basedir issue with borlabs cookie

    Hey, after upgrading to borlabs 3.0 i got lots of warnings regarding open_basedir restriction etc. I worte their support to check it out and their plain answer was: not our fault check with ur system admin and fix your open_basedir configuration and they linked me to A website hosted in Plesk...
  3. S

    Question How to null open_basedir

    hi Every one how can I null "open_basedir" in php settings ? There is no option of null or edit. Earlier my site was running on php 7.4 after changing it to version 8 i selected the default from the above picture but my site stop working and returning 404. how can I set null in open_basedir.
  4. M

    Resolved How to update default open_basedir for all websites?

    Dear Plesk community, TLDR: How can we update PHP's default open_basedir for multiple domains at once? For all domains on our 10+ Plesk servers, we're trying to configure PHP's auto_prepend_file to intercept fatal errors and send them to cloud logging. However, most of the domains also have...
  5. S

    Question open_basedir and WordPress, general consensus needed, configured or none?

    Hi, I'm looking to find out the general consensus with regards to open_basedir configuation when WordPress has been installed. From experience, the standard/quality of programming varies from one plugin developer to another. For the most part, these developers code their plugins in a Linux...
  6. M

    Resolved GravCMS open_basedir restriction (Plesk Windows)

    Hey guys, when i try to install GravCMS on Plesk (windows) but there is allways this error : "GlobIterator::__construct(): open_basedir restriction in effect. File(E:/plesk/vhost/xyz.com/grav-demo.xyz.com/cache/problem-check-*) is not within the allowed path(s)...
  7. J

    Issue Image uploading using move_uploaded_file

    Good afternoon, I'm trying to do an image uploading using two sub-domains, one for API and one for storage. I use the API subdomain for PHP and Database operations and that includes uploading images to the Storage which is the other subdomain. My problem is, I kept having this error that says...
  8. E

    Issue PHP open_basedir 'not within the allowed path(s)'... but it is

    Hi all, We have 2 subscriptions with one domain we have on a Plesk server that work perfectly. We must migrate this 2 subscriptions on a new server (Centos end of life => debian). We have simulate it. All works only one thing: the domain 2 can not access to the files to the domain 1. The...
  9. K

    Resolved open_basedir restriction

    Hello, I'm currently having an issue with open_basedir restriction on php 8.0. I'm trying to scan an directory in php like $verzeichnis = "B:/Backups/Datenbankbackups/" . $dbname; if (is_dir($verzeichnis)) ... My PHP Setting (in Plesk Obisdian) is: open_basedir =...
  10. A

    Question PHP Warning: file_exists(): open_basedir restriction in effect.

    PHP Warning: file_exists(): open_basedir restriction in effect. File(//?#) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/:/tmp/:/var/www/vhosts/mydomain.com/:/tmp:/tmp/:/var/www/vhosts/staging1.mydomain.com/:/tmp) in...
  11. J

    Question A scheduled task works over the web but not in Plesk

    Hi guys, A developer created a cron in plesk, to update all the categories, catalog and images of my client's online store in prestashop. After executing it, it shows the following: I have been bugging with open_basedir but nothing was fixed for me. The developer tells me exactly "the...
  12. C

    Question open_basedir - change bulk subscriptions to Default value

    I want to change the open_basedir PHP parameter for all subscriptions on a server, however I want to do the change on the actual open_basedir field under Subscription -> PHP Settings -> Common Settings. Following the below guide...
  13. T

    Issue TEMP-Folder-problem

    Hi, I updatet to the newest version of plesk and then I wanted to open a new domain-account. All was good, but when using wordpress (new installation) when trying to upload a picture WordPress told me that the temp-folder would be missing. This is a common error at wordpress on plesk and the...
  14. S

    Issue open_basedir changes not working

    Hi, I try to access a file in from php in websiteA in websiteB homedir. For example test.php in websiteA <? require('/home/httpd/vhosts/<domainb>/httpdocs/testinclude.php'); ?> When i do that i will get a open_basedir restriction as expected and a 500 error [Sun Mar 17 14:34:18.055943 2019]...
  15. michaelespinosa

    Issue PHP opend_basedir restriction issues

    I need help getting PHP (v5.4.45) errors and permissions working properly after a server was migrated. Some of my sites need to access some files from another domain on the same server. For example, /var/www/vhosts/planetrockcm.com/httpdocs/test.php might try to include...
  16. K

    Issue open_basedir configuration problem

    Hello all, I am attempting to use a configuration file which will be shared by more than one site on a server. This works perfectly well if I set the open_basedir setting to none, but If I try to provide any restrictions at all, this fails. I have set the configuration in Plesk to...
  17. N

    Issue open_basedir restriction in effect

    Hi everyone, i've this problem on my dedicated server under plesk onyx... [Fri Oct 27 15:11:27.119026 2017] [proxy_fcgi:error] [pid 20656] [client 88.179.161.126:41458] AH01071: Got error 'PHP message: PHP Warning: file_exists(): open_basedir restriction in effect...
  18. DilanR

    Issue AH01071: Got error 'PHP message

    Hi, Our server does the same and I am so puzzled. I have done all possible solution provided here and there, but I can not get this solved. Our OJS 3.0.2 Application on a subdomain http://ojs.dotaca.com need to run some scripts to send auto emails. I included the folders in the subdomain PHP...
  19. michaelespinosa

    Issue Virtual Hosts and Php Settings Issue

    I'm working on setting up a new domain on my server and having some issues getting it working the way I need. I need the domain to be able to access some files from another domain on the same server (I have another site that already does this). In the past I had to make sure php safe mode was...
  20. P

    Resolved Error open_basedir after update 12.5 to 17 Onyx

    Hello al, I have a error during update plesk 12.5.30 to 17.0.17, with Roundcube. PHP Warning: realpath(): open_basedir restriction in effect. File(/usr/share/psa-roundcube) is not within the allowed path(s): (/var/www/vhosts/domain.com/httpdocs) in /usr/share/psa-roundcube/bin/update.sh on...
Back
Top