How To Fix 'Unable to allocate memory for pool' PHP Error

This article discusses the "Unable to allocate memory for pool" error message in PHP.


When you try to view a page running PHP, you receive the following error message:

Unable to allocate memory for pool


To resolve this problem, our Guru Crew must adjust APC (Alternative PHP Cache) configuration settings for your account. Please open a support ticket on the A2 Hosting Customer Portal at In the ticket, please provide the complete text of the error message you receive, as well as a reference to this Knowledge Base article.


More Information

For more information about APC, please visit

Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.