open_basedir woesAugust 25, 2020 at 1:24pm
I'm struggling with open_basedir - running osx, apache, php 7.2 and have tried so many ways to get the local value of open_basedir updated - I am ready to give up :-( Error is:
realpath(): open_basedir restriction in effect. File(/Users/woody/Sites/Local-apache-root) is not within the allowed path(s): (/Users/Woody/Sites/Local-apache-root:/var/tmp/)
So looks like it actually it IS... but it thinks not? I'm feeling like noob here.
Tried updating php.ini, httpd.conf. Im not using .htaccess anywhere. Are there any other settings that affect file access perms etc? Could my local filesystem perms affect this?
Thanks for any pointers.
August 25, 2020 at 2:39pm
August 25, 2020 at 10:15pm
Thanks Chris - My whole config for apache / php was a real mess - I decided to start afresh, upgrade OSX and then do it with BREW using this great guide for OSX 10.15 - https://getgrav.org/blog/macos-catalina-apache-multiple-php-versions - Took me so many hours its embarrasing, but Im finally up and running! Directory Lister looks great :-)