Closed shailuobodemao closed 5 years ago
$config = ['path' => '/tmp']; $excel = new \Vtiful\Kernel\Excel($config); $data = $excel->openFile('tutorial01.xlsx')->openSheet()->getSheetData(); var_dump($data); 提示.. [root@xiaoming php-ext-excel-export]# php /data/wwwroot/xiaoming/yii a-test/he php: symbol lookup error: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/xlswriter.so: undefined symbol: file_open
$config = ['path' => '/tmp']; $excel = new \Vtiful\Kernel\Excel($config); $data = $excel->openFile('tutorial01.xlsx')->openSheet()->getSheetData(); var_dump($data);
请问使用 PECL 安装还是 编译 安装?
我是用编译安装 系统是centos也是这个错误
问题已修复,请使用master分支编译安装。
CC @627994233 @lai416703504
我也是编译安装,centos 谢谢修复~有时间了我试下.
$config = ['path' => '/tmp']; $excel = new \Vtiful\Kernel\Excel($config); $data = $excel->openFile('tutorial01.xlsx')->openSheet()->getSheetData(); var_dump($data);
提示.. [root@xiaoming php-ext-excel-export]# php /data/wwwroot/xiaoming/yii a-test/he php: symbol lookup error: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/xlswriter.so: undefined symbol: file_open