Doctrine命令行创建模式 [英] Doctrine command line create schema

查看:143
本文介绍了Doctrine命令行创建模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我第一次使用Doctrine + CodeIgniter并尝试使用orm:schema-tool:create命令我收到此错误消息:

My first time using Doctrine + CodeIgniter and trying to use orm:schema-tool:create command I get this error message:

C:\>C:\xampp\php\php.exe  c:\xampp\htdocs\doctrine\application\doctrine.php orm:schema-tool:create

Fatal error: Call to undefined function Doctrine\Common\Cache\apc_fetch() in C:\xampp\htdocs\doctrine\application\libraries\Doctrine\Common\Cache\ApcCache.php on line 52

我做错了什么?

提前感谢任何帮助。

推荐答案

我找到了解决方案很明显。

I've found the solution, it was pretty obvious.

在我的Doctrine.php我有一条尝试使用缓存使用APC,我没有安装APC ...评论这些行和问题解决

On my Doctrine.php I had a line trying to use cache using APC and I don't have APC installed...commented those lines and problem solved.

希望有帮助。

这篇关于Doctrine命令行创建模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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