Page 1 of 1

Enabling APC cache crashes apache

PostPosted: 29. April 2009 01:10
by d7a7z7e7d
I've just downloaded XAMPP 1.7.1 zip package.

After getting everything configured, I went to enable APC by uncommenting the "#extension=php_apc.dll" line in php.ini. After restarting apache I hit phpinfo() and I see that apc is loaded successfully. However, if I refresh the page apache will crash. Basically after restarting apache with APC enabled I get one visit to a particular page before apache crashes. As soon as I disable APC apache works again.

I'm running Vista x64. Anyone else have this problem or have any ideas?


Re: Enabling APC cache crashes apache

PostPosted: 15. May 2009 05:26
by dannyn
Exactly the same issue but I am running XP Pro.
Any help would greatly be appreciated...

Re: Enabling APC cache crashes apache

PostPosted: 05. June 2009 01:36
by DavidPesta
This stumped me a year ago, but today I have found the answer on a blog:

Disable everything related to zend in the php.ini. It comes in conflict with apc and you shouldn't need zend optimizer if you are wanting apc anyway.

I am a very happy David today. :mrgreen: