← Back to team overview

ius-coredev team mailing list archive

[Bug 1169991] Re: Zend OPcache package for PHP 5.2+

 

Just some feedback, which might be interesting regarding this request:

On one of our PHP 5.4 installs we had a wired problem caused by APC
3.1.13/14: constants of PHP classes were not found, causing all sorts of
wired errors.

As PHP developers factual stopped maintaining APC I was looking for
alternatives, which brings one now automatically to Zend OPCache
included in PHP from 5.5 onwards.

So I replaced APC on that box with a pecl install from ZendOpcache
(7.0.1) and APCu (4.0.1). APCu is the user level, not opcode, cache part
from APC, now developed in a separate project. It exposes an identical
interface as APC for user level caching, required in EGroupware as well
as in many other bigger PHP projects.

That replacement fixed the wired behavior of combination PHP 5.4 and
APC.

So I can only second a php54-pecl-opcache AND a php54-pecl-apcu package
would be very usefull, if not necessary, if one runs PHP 5.4. APCu is
necessary to fully replace APC, if you need a shared memory cache
compatible with APC.

Kind regards and keep up your good work :-)

Ralf

-- 
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/1169991

Title:
  Zend OPcache package for PHP 5.2+

Status in IUS Community Project:
  New

Bug description:
  Using a PHP accelerator gives a drastic performance improvement in a
  PHP environment and the PECL package APC
  (http://pecl.php.net/package/APC) has historically been one of the
  best accelerators around.

  Latest stable version of APC is 3.1.9 but support for PHP 5.4 (current
  PHP stable) wasn't added until 3.1.10-beta and even latest version of
  APC 3.1.13 is considered beta.

  I don't believe we'll see much further updates to APC either as it has
  been decided that PHP 5.5 and onwards will include Zend OPcache
  (https://github.com/php/php-src/blob/php-5.5.0beta1/NEWS) which was
  recently open sourced (https://github.com/zend-dev/ZendOptimizerPlus)

  Zend OPcache is available, stable and supports PHP 5.2+
  For me it seems like a natural addition for IUS to add as a package at least for PHP 5.4, but perhaps also for older versions.

  
  More information
  Background: https://wiki.php.net/rfc/optimizerplus
  Code: https://github.com/zend-dev/ZendOptimizerPlus

To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/1169991/+subscriptions


References