Need help turning off open_basedir
-
All of my System Requirements pass, but under System Checks (web server = Apache), Open Base Dir is on = Fail, and when I create a package, it stops with ‘errors’. Altho I don’t see any errors in the log, the log ends at “Creating Package”
Per the FAQ, I asked my host to disable open_basedir for me, and they gave me instructions how to do it on a folder-by-folder basis:
This suggests adding this template code to php.ini:
open_basedir = "/path/to/first/folder:/path/to/second/folder"
with the instructions, “Do not use paths that look like nfs/c00/h00/mnt/. Use /home/00000/ plus the rest of your path (where 00000 is your site number)
so I tried:
open_basedir = "/home/12345/domains/mydomain.com/:/home/12345/domains/mydomain.com/"
to hopefully relax it quite a bit. However adding this code did not disable open base dir according to the duplicator’s system check, and creating a package still fails quickly and the log ends at “Creating Package…” with no additional information.
Can you tell me what I am doing wrong/what is the correct code to add to my php.ini? I had success adding “extension = zip.so” to this file to enable zip archiving, so I know I’m in the right place. ??
Currently I’m using php 5.3.27
- The topic ‘Need help turning off open_basedir’ is closed to new replies.