I am trying to set up symfony2 project on my mac machine. I am using php 5.4.7.
When I start my webserver (apache 2.2.22) and go to site for a first time everything is good. But when I hit F5 (refresh) or when I go to some other link, I get error message "Server not found". When I hit F5 several time message I get is "Warning: require(): Unable to allocate memory for pool".
I guess it is related with APC. Version of APC I am using is 3.1.12
Does anyone know what can be a problem?
I suggest you to use a program like MAMP. As it is a complete tool with all the features you need, without having problems.
By the way, here is a possible solution: http://www.cyberciti.biz/faq/linux-unix-php-warning-unable-to-allocate-memory-for-pool/