No replies
altaf's picture
Joined: 12/12/2007
Juice: 15
Was this information Helpful?

how to set filepath for download (Product settings->File Download Settings->Files path) if it is outside httpdocs
Current my dir struc for drupal is

and download dir path is

Actually that is outside httpdocs so whenever i try to set file download settings it gives me error

* warning: is_dir() []: open_basedir restriction in effect. File(/var/www/vhosts/ is not within the allowed path(s): (/var/www/vhosts/ in /var/www/vhosts/ on line 542.
* /var/www/vhosts/ is not a valid file or directory

I even try to set open_basedir off and set path "/var/www/vhosts/" but no effect even i changed permission to 777

can anybody throw light on it any small help would be appreciated