I've been tying to follow este guide for integrating Doctrine 2 and CI 2.
all was good until i ran "php doctrine-cli.php orm:generate-proxies" from a cmd,
and got this error
Fatal error: Call to undefined function Doctrine\Common\Cache\apc_fetch().
after some research it looks like I don't have the AlternativePhpCache (ACP) module installed. so i've tried every single version in downloads.php.net/pierre and they all yield the same error
https://lh3.googleusercontent.com/-QEt3udKTSGc/Tlkgr5POw4I/AAAAAAAAEwQ/hlAhmcxshDE/123.jpg (screenshot from my picasa as i can't upload images due to a lack of points)
Estoy usando :
- Win7 (x64)
- EasyPhp 18.104.22.168
am I doing something wrong? Thanks.
preguntado el 27 de agosto de 11 a las 16:08
Pavel 'PK' Kaminsky
I had the same problem with Xammp. I made a search on google and found http://downloads.php.net/pierre/ web site. According to my operating system specification and PHP version I chose the suitable file which was php_apc-20110109-5.3-vc9-x86.zip (2011-01-09 12:16 -0800) for me and downloaded it. I extracted the file to my Xammp/php/ext carpeta como php_apc.dll. After all, I edited my php.ini file and add extension=php_apc.dll to extension section in
php.ini. If you need you can add the following configuration.
- apc.enabled = 1 - apc.shm_segments = 1 - apc.shm_size = 64 - apc.max_file_size = 16M - apc.stat = 1
That worked out for me. If this is not going to work for you, then you may check your operating system(especially x86 or x64) and php version (5.2.* or 5.3.*). I hope this information will help you. Have a great day guys.