diff --git a/.travis.yml b/.travis.yml
index f252064cfa6d634f82861e05a7ee0e1b18ac98e0..23b30742d621ddd313e9eaf33c03c10997ecd32b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,12 +27,6 @@ notifications:
     on_failure: always
 
 before_script:
-  - >
-    if [[ "$TRAVIS_PHP_VERSION" = "5.4" ]]; then
-        echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
-        echo "apc.enable_cli=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
-        echo "apc.slam_defense=0" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
-    fi
   - >
     if [[ "$TRAVIS_PHP_VERSION" = "5.3" || "$TRAVIS_PHP_VERSION" = "5.4" ]]; then
         pecl install igbinary > /dev/null;