PHPExcel在Linux中不起作用 [英] PHPExcel not working in linux
问题描述
我正在使用PHPExcel将数据和动态生成的图形导出到excel工作表.但是它在Linux上不起作用.我在Windows上尝试过它,但是在debian上却不能.特别是不执行$ objectwriter-> save(str_replace('.php','.xls', FILE )).我尝试了很多事情,但没有成功. 任何可能的解决方案?
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 didn't worked. any possible solutions?
推荐答案
PHPExcel具有以下要求.请确保您的Linux机器满足所有这些要求:
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& referredTitle = Home
这篇关于PHPExcel在Linux中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!