调用未定义函数 DoctrineORMMappingDriversimplexml_load_file() [英] Call to undefined function DoctrineORMMappingDriversimplexml_load_file()

查看:26
本文介绍了调用未定义函数 DoctrineORMMappingDriversimplexml_load_file()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Symfony2 并将我的网站部署到 CentOs6 服务器.我遇到了这个异常

I am using Symfony2 and I am deploying my web to a CentOs6 server. I got this exception

FatalErrorException: Error: Call to undefined function DoctrineORMMappingDriversimplexml_load_file() in vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php line 736

我错过了什么?谢谢

推荐答案

由于某种原因,您的 php 版本中似乎没有安装 simplexml 扩展.

looks like for some reason you don't have the simplexml extension installed in your php version.

查看此处了解完整详情.

这篇关于调用未定义函数 DoctrineORMMappingDriversimplexml_load_file()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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