Sorry but I think it's totally doable. I just can't stand the ideia of changing script everytime shit happens.
I've managed to change temp dir.
My PHP info shows temp dir set as upload_tmp_dir parameter.
But, let's put in a logical way. I set a custom temp upload directory and I set this directory to be able to run php.
PHPExcel script detect which temp dir is set. You can notice that because log says exactly the directories I've set using php_admin parameters...
I can't understand French but I'll use a translator, later I'll come back
I've managed to change temp dir.
PHP Code:
php_admin_value upload_tmp_dir "/var/sentora/hostdata/vulcanus/tmp"
php_admin_value open_basedir "/var/sentora/hostdata/vulcanus/public_html/oc2_vulcanus_com_br:/var/sentora/hostdata/vulcanus/tmp/"
My PHP info shows temp dir set as upload_tmp_dir parameter.
But, let's put in a logical way. I set a custom temp upload directory and I set this directory to be able to run php.
PHPExcel script detect which temp dir is set. You can notice that because log says exactly the directories I've set using php_admin parameters...
I can't understand French but I'll use a translator, later I'll come back