APCをVer.3.0.19に更新

APC(Alternative PHP Cache)をVer.3.0.18からVer.3.0.19に更新した。
もう慣れたもんです。

にしても、最近サーバいじってないなあ。。。

変更点

APC 3.0.19
* Move expunge callback groundwork to 3.1 (Rasmus)
* Fix fd-leak (Gopal)
* Fix double-free on builtin functions (Gopal)
* Initial PHP 5.3 support (Gopal)

今回の目玉はPHP 5.3サポートかな。
ウチは5.2なので今のところ直接関係は無し。

更新手順

# pecl upgrade-all
Will upgrade channel://pecl.php.net/apc
downloading APC-3.0.19.tgz …
Starting to download APC-3.0.19.tgz (115,735 bytes)
…………………….done: 115,735 bytes
47 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
1. Use apxs to set compile flags (if using APC with Apache)? : yes
(…略…)
———————————————————————-
Libraries have been installed in:
/var/tmp/pear-build-root/APC-3.0.19/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR’
flag during linking and do at least one of the following:
– add LIBDIR to the `LD_LIBRARY_PATH’ environment variable
during execution
– add LIBDIR to the `LD_RUN_PATH’ environment variable
during linking
– use the `-Wl,–rpath -Wl,LIBDIR’ linker flag
– have your system administrator add LIBDIR to `/etc/ld.so.conf’

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
———————————————————————-

Build complete.
Don’t forget to run ‘make test’.

running: make INSTALL_ROOT=”/var/tmp/pear-build-root/install-APC-3.0.19″ install
Installing shared extensions: /var/tmp/pear-build-root/install-APC-3.0.19/usr/lib/php5/20060613+lfs/
running: find “/var/tmp/pear-build-root/install-APC-3.0.19” | xargs ls -dils
139527 0 drwxr-xr-x 3 root root 72 May 21 23:55 /var/tmp/pear-build-root/install-APC-3.0.19
139588 0 drwxr-xr-x 3 root root 72 May 21 23:55 /var/tmp/pear-build-root/install-APC-3.0.19/usr
139589 0 drwxr-xr-x 3 root root 72 May 21 23:55 /var/tmp/pear-build-root/install-APC-3.0.19/usr/lib
139590 0 drwxr-xr-x 3 root root 80 May 21 23:55 /var/tmp/pear-build-root/install-APC-3.0.19/usr/lib/php5
139591 0 drwxr-xr-x 2 root root 72 May 21 23:55 /var/tmp/pear-build-root/install-APC-3.0.19/usr/lib/php5/20060613+lfs
139587 412 -rwxr-xr-x 1 root root 420607 May 21 23:55 /var/tmp/pear-build-root/install-APC-3.0.19/usr/lib/php5/20060613+lfs/apc.so

Build process completed successfully
Installing ‘/usr/lib/php5/20060613+lfs/apc.so’
upgrade-all ok: channel://pecl.php.net/APC-3.0.19
configuration option “php_ini” is not set to php.ini location
You should add “extension=apc.so” to php.ini

# /etc/init.d/apache2 restart

peclばんざい。
動作も問題なさそう。

コメント

タイトルとURLをコピーしました