I am using PHPExcel PHP library for reading xlsx files and every thing is fine. when I am deploying my web application in our server I am facing the below error:
Fatal error: Uncaught exception 'Exception' with message 'ZipArchive library is not enabled'
I know that ZipArchive is a requirement for PHP Excel. and I need to follow the install instructions for it to enable it on my production server.
This error because PHPExcel require the below requirements:
- PHP version 5.2.0 or higher
- PHP extension php_zip enabled
- PHP extension php_xml enabled
- PHP extension php_gd2 enabled
Now I cant access our nginx server and cant compile "PHP extension php_zip" then enable it.
my question is:
Is that any Alternatives for PHP_excel dose not require ZipArchive class with PHP extension php_zip enabled ?
I am trying these Alternatives for PHP_excel but all of them based on zip.so compiled and php_zip extension enabled.
Any help will be more than appreciated.