Doctrine command line creates schema

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 

What am I doing wrong?

Thanks in advance for your help.

0
source share
1 answer

I found a solution, it was pretty obvious.

On my Doctrine.php, I had a line trying to use cache using APC, and I don't have an APC installation ... commented on these lines and the problem.

Hope this helps.

+2
source

Source: https://habr.com/ru/post/1369300/


All Articles