开发者

php 5.3 and APC (what's going on)?

I am trying to get a version of APC that works with PHP 5.3.x

According to several online resources including wikipedia, the ve开发者_如何学Crsion of APC given as compatible with PHP 5.3.x is APC-3.1.3p1

However upon investigating the contents of the file, in the file named INSTALL

The first few lines declare:

Installation Instructions for APC

This version of APC should work on PHP 4.3.0 - 4.4.x and 5.1.0 - 5.2.x. Yes, that means PHP 5.0.x is no longer supported. Upgrade to PHP 5.1.x or 5.2.x and you will notice all sorts of performance increases.

No mention is made of 5.3

So which version of APC is to be used for building a dso for PHP 5.3.x ?


APC's changelog explicitely mentions PHP 5.3, so it's just an outdated INSTALL file.


Is the pecl program unavailable to you? pecl install apc should work, and will automatically grab the extension version most appropriate for your PHP version.

If you don't have pecl, and you got your PHP installation from your operating system, check their repositories for the php-pecl package. Under some distributions, pecl is provided by the php-pear package instead. (Even then, there may well be a php-pecl-apc package...)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜