PHPExcel在Linux中不起作用 [英] PHPExcel not working in linux

查看:84
本文介绍了PHPExcel在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆