Closed chii1873 closed 4 years ago
I reinstalled excel.so and it worked! I forgot to pre-install libxml2-devel and to add --with-libxml-dir parameter when running configure.
dnf install libxml2-devel
cd /usr/local/src/libxl-3.9.1.0/php_excel-php7
phpize
./configure --with-libxl-incdir=../include_c --with-libxl-libdir=../lib64 --with-libxml-dir=/usr/include/libxml
make clean
make
make install
systemctl restart httpd
php -r "print_r(get_loaded_extensions());" | grep excel
[14] => excel
Thank you anyway.
I installed LibXL library and PHP Extension php7 branch as follows:
vi /etc/php.ini
systemctl restart httpd
excel1.php
But I got an error:
Fatal error: Uncaught Error: Class 'ExcelBook' not found in /path/to/excel1.php:3
I'm using the following modules.
Anyone please tell me what's wrong. Thank you.