Open_Basedir Directory Error – SOLVED
-
We’ve been struggling with our restores lately. We kept encountering the open_basedir error trying to restore any site. We worked with our hosting (we have a VPS) to try to resolve it but nothing worked. We kept having them do manual migrations for us.
Finally we found the issue and I’m posting this more or less FYI in case it’s a bug or unintended functionality: When there is an .htaccess file in the public_html of a site, the script starts looking for an .htaccess outside of the public_html folder for some reason and because our open_basedir restrictions do not allow php scripts executing/running outside of the public_html folder, it fails. Removing the .htaccess file from the public_html root allows the script to run. This was never an issue in the past but is the case across the board for the last few months. Maybe the script could advise on this similar to how it does if you leave wp-config.php in the root and do a restore.
- The topic ‘Open_Basedir Directory Error – SOLVED’ is closed to new replies.