Search code examples
phpapachexamppapc

php_apc crashes apache with xampp


As stated in title, heres some info of what im using>

xampp ver: 3.1.0

php ver: 5.4.7

apc ver: APC 3.1.9 for PHP 5.4 vc9 (Win7/2008)

web server: using local pc as webserver (windows 8)

found this error in apache log everytime i turned apc on:

[mpm_winnt:crit] [pid 6112:tid 308] AH00419: master_main: create child process failed. Exiting.

anyone know whats happening or at least tell me am i using the correct version? thanks.


Solution

  • APC doesn't support PHP 5.4 until version 3.1.10.

    Currently, the newest APC version is 3.1.13.

    I would also recommend to take a look at APCu, which is an API-compatible replacement for APC without the compile cache component. It works fine in conjunction with Zend OPcache that is bundled in PHP 5.5+.