Skip to main content

[apc-error] apc_mmap: ftruncate failed: File too large

I got this error when starting php5-fpm service. I am using Debian Squeeze with dotdeb.org repositories to get php5-fpm package for php 5.3.

In this case the error was related to APC package mismatch between debian and dotdeb.org repositories. To solve the problem I uninstalled php-apc from debian repositories and installed php5-apc from dotdeb.

# apt-get remove php-apc
# apt-get install php5-apc

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.