The path you entered is not a valid directory or is not accessible.

Published by

Posted on March 21, 2010

Error:The path you entered is not a valid directory or is not accessible.

When trying to enable imagemagick within Gallery2 by Menalto

Check your php,ini file for a directive open_basedir

add the root path that contains the convert binary , so for example if convert is at /usr/bin/convert
set the basedir to
open_basedir = /your/home:/usr/bin

without this settings you will not have access to the /usr/bin folder.