menu

Directory Lister

Directory Lister is the easiest way to share the contents of any web-accessible folder and navigate there within.

Channels
Team

open_basedir woes

August 25, 2020 at 1:24pm

open_basedir woes

August 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
This is off-topic, sorry - I have Apache/php config issues rather than directory lister issues.
  • reply
  • like
I believe OSX is case sensitive, therefor the path /Users/woody/Sites/Local-apache-root does not match /Users/Woody/Sites/Local-apache-root (the capitalization of "Woody" is different). Try changing that and see if it works.
Edited
  • reply
  • like

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 :-)
like-fill
1
  • reply
  • like
Glad you got that working!
  • reply
  • like