viest / php-ext-xlswriter

🚀 PHP Extension for creating and reader XLSX files.
https://xlswriter.viest.me
BSD 2-Clause "Simplified" License
2.26k stars 234 forks source link

读取excel失败 #149

Closed shailuobodemao closed 5 years ago

shailuobodemao commented 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

viest commented 5 years ago

请问使用 PECL 安装还是 编译 安装?

lai416703504 commented 5 years ago

请问使用 PECL 安装还是 编译 安装?

我是用编译安装 系统是centos也是这个错误

viest commented 5 years ago

问题已修复,请使用master分支编译安装。

CC @627994233 @lai416703504

shailuobodemao commented 5 years ago

我也是编译安装,centos 谢谢修复~有时间了我试下.