環(huán)境:centos 寶塔上php安裝插件PHP-Xlswriter,代碼中報錯:Vtiful\Kernel\Exception: Configure 'path' directory does not exist in
php -m 中有這個插件
php --ini目錄中找到了php.ini 是有這個配置的文件如下:
webman我有進行重啟
$config = [
'path' => public_path() . '/excel/',
];
$fileName = $fileName . '.xlsx';
$xlsxObject = new \Vtiful\Kernel\Excel($config);
Vtiful\Kernel\Exception: Configure 'path' directory does not exist in