I had the same problem with Xammp. I did a google search and found a http://downloads.php.net/pierre/ website. According to my specification of the operating system and version of PHP, I selected the appropriate 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 the Xammp / php / ext folder as php_apc.dll . In the end, I edited the php.ini file and add extension = php_apc.dll to the extension section in php.ini . If you need, you can add the following configuration.
[APC]
- apc.enabled = 1 - apc.shm_segments = 1 - apc.shm_size = 64 - apc.max_file_size = 16M - apc.stat = 1
It worked for me. If this does not work for you, you can check your operating system (especially x86 or x64) and php version (5.2. * Or 5.3. *). I hope this information helps you. Have great people of the day.
source share