Home > Backend Development > PHP Tutorial > 啊 Linux上PHP运行出错class 'XMLWriter' not found

啊 Linux上PHP运行出错class 'XMLWriter' not found

WBOY
Release: 2016-06-13 12:58:31
Original
1283 people have browsed it

求助啊 Linux下PHP运行出错class 'XMLWriter' not found
Linux下运行运行 PHP项目  当使用PHPEXCEL进行报表打印的时候保存

其内容为
Class 'XMLWriter' not found in /home/httpd/morpho-internal/saiban/Excel/PHPExcel/Shared/XMLWriter.php on line 66 

请问这什么原因?缺少文件 还是缺少扩展?
------解决方案--------------------
Class 'XMLWriter' not found  
类 XMLWriter 未找到

因此,你看看类文件是否包含进来了。
------解决方案--------------------
XMLWriter 是php5.3内置的类
------解决方案--------------------
XMLWrite 是php 5.1.2 之后内置的类。
你所包含的PHPExcel 类库需要 php5.2.0以上的运行环境。 检查你的php版本是否过低。
------解决方案--------------------
我的QQ是  840744233
------解决方案--------------------
XMLWriter 是php5.3内置的类,你所包含的PHPExcel 类库需要 php5.2.0以上的运行环境。 检查你的php版本是否过低。 试试看~~

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template