php yii 500 error Excel writer (export)

20 Октябрь 1999

phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php
>
$pFilename = @tempnam(PHPExcel_Shared_File::sys_get_temp_dir(), ‘phpxltmp’);

is a temp directory without access.

add “/tmp:” to php_admin_value open_basedir


 


© 2006 - 2022, Александр Сергеев