PHP produces warning when using tempnam() function to create temporary file
joglomedia opened this issue · comments
An warning occured when using tempnam() function
Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s):
Possible fix
Set PHP ini sys_temp_dir to the user's temp dir, add from php-fpm pool config.
php_admin_value[sys_temp_dir] = /home/lemper/.tmp