开发者

PHPExcel not working in linux

开发者 https://www.devze.com 2023-04-06 01:32 出处:网络
I am using PHPExcel for exporting my data and the dynamically generated graph to the excel sheet. But it is not working on linux. i tried it on windows and it works but not on debian. specially the $o

I am using PHPExcel for exporting my data and the dynamically generated graph to the excel sheet. But it is not working on linux. i tried it on windows and it works but not on debian. specially the $objectwriter->save(str_replace('.php','.xls',FILE)) is not executed. I have tried so many things but did开发者_运维百科n't worked. any possible solutions?


PHPExcel has the following requirements. Please make sure that your Linux box meets all these requirements:

PHP version 5.2.0 or higher
PHP extension php_zip enabled *)
PHP extension php_xml enabled
PHP extension php_gd2 enabled (if not compiled in)

http://phpexcel.codeplex.com/wikipage?title=Requirements&referringTitle=Home


I Solved this problem by

Enabling zlib.output_compression through

CPANEL -> MultiPHP INI Editor -> Select Domain

Cent OS

php_zip - enabled. php_xml - enabled php_gd - enabled

0

精彩评论

暂无评论...
验证码 换一张
取 消