Zend OPcache PHP package for Debian

[2015-05-05] Updated with 7.0.5

Iโ€™ve built a Zend OPcache package for PHP 5.4 that comes with Debian Wheezy due to the simple fact that there just isnโ€™t one out there. The package will place the precompiled PHP extension (amd64) into the right place, and put down a basic config.

What you need to know

Built with Zend OPcache 7.0.5 on Debian Wheezy (7).

The module lives at /usr/lib/php5/20100525/opcache.so

The config is in /etc/php5/mods-available/opcache.ini

A symlink in /etc/php5/conf.d/20-opcache.ini points to the above config file.

Hope you find this handy, and let me know if you find any bugs with the package.

Download

php5-zendopcache_7.0.5-1_amd64

6 thoughts on “Zend OPcache PHP package for Debian”

  1. Thanks, this is helpful, but the package is missing the opcache.ini, would be useful to have the default file in there?

    1. Hi Sascha, you can find opcache.ini in /etc/php5/mods-available/opcache.ini ๐Ÿ™‚
      Let me know if you can’t find it.

      1. Sascha, you’re right, the file was missing, my apologies. I’ve fixed the package and updated it to the latest 7.0.5 as well.

  2. Steven Maddox

    He’s right it is missing from mods-available. The symlink points to nothing. It isn’t in the .deb file – I’ve looked. If you repackage it, could you package 7.0.5 instead as that’s now stable.

    1. Interesting, thanks for letting me know. I’ll fix it and package 7.0.5 at the same time. Should be up sometime this week.

Leave a Comment

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

Scroll to Top