Forum Moderators: coopster

Message Too Old, No Replies

is setting custom tmp directory possible in php!

setting custom temp directory using php to override the default path

         

ALKateb

12:46 pm on Dec 20, 2009 (gmt 0)

10+ Year Member



Hello everyone!
i want to ask if it is possible in anyway to set custom temp directory for each account!
the php is running in safe mode and the php's temp dir is the system's default temp dir but! i want to change this settings so the each account has its own temp dir - /home/UserAccount/tmp/ - (for files upload etc) is this possible? what do i need to change in php.ini for this to work?

thanks in advance

eelixduppy

7:24 pm on Dec 21, 2009 (gmt 0)



That directive can only be changed in the php.ini or httpd.conf files. Perhaps you can set it for each account in the httpd.conf, though, on a account-to-account basis instead of globally.