Photo gallery script tmp path

software development

#1

I am trying to set up a Photo Gallery php script. In the config file it asks for a cache path and below is the default.

//folder must exist and be writeable by webserver-user!
$cfg[‘tmp_path’] = ‘/var/tmp/’;

When I run the script now I am getting the following error:
mkdir(): open_basedir restriction in effect. File(/var/tmp/phpAutoGallery) is not within the allowed path(s):

What should I be setting the tmp_path to?

Thanks,

Terry