I want to set the HTTP file upload temp directory in my server's php.ini file but don't quite understand path versus absolute path.

I want to specify a directory just under one of my server's domain account public_html directory:
/home/gardish/public_html/website_files/

I will create the emp directory here:
/home/gardish/upload_temp

Will my server properly map this path from my php.ini file:
upload_tmp_dir= /home/gardish/upload_temp

or do I need to determine/enter an absolute path something like:
upload_tmp_dir= /usr/local/home/gardish/upload_temp

Many thanks,
😕

    you should use the full absolute path:
    upload_tmp_dir = /usr/local/home/gardish/upload_temp

      Hi Devin,

      Is this the actual/usual linux system path for domain accounts:
      /usr/local/home/...../
      Or I should I do some sort of search when logged into the server ?

      Thank you !
      Pedro

        i have no idea what your server's actual absolute path will be, i was just giving an example of an absolute path. contact your server or login and do pwd. typically on *nix servers it's something like /www/username/htdocs/

          Write a Reply...