前の記事: PHPデバッグ機能付きエディタ Peggy Pro for PHP
次の記事: 某専用サーバのRHEL3
# pear channel-update pecl.php.net
# pear install pecl/APC
Sorry, I was not able to successfully run APXS. Possible reasons:
1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of apxs follows
/tmp/pear/cache/APC-3.0.13/configure: line 2995: apxs: command not found
configure: error: Aborting
ERROR: `/tmp/pear/cache/APC-3.0.13/configure --with-apxs' failed
# PATH=$PATH:/usr/local/apache2/bin/
# pear install pecl/APC
Starting to download APC-3.0.13.tgz (105,042 bytes)
........................done: 105,042 bytes
40 source files, building
running: phpize
Configuring for:
PHP Api Version: 20020918
Zend Module Api No: 20020429
Zend Extension Api No: 20050606
1. Use apxs to set compile flags (if using APC with Apache)? : yes
(中略)
Build process completed successfully
Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/apc.so'
install ok: channel://pecl.php.net/APC-3.0.13
configuration option "php_ini" is not set to php.ini location
You should add "extension=apc.so" to php.ini
extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20020429/
extension=apc.so
apc.enabled = 1
apc.mmap_file_mask = /tmp/apc.XXXXXX
前の記事: PHPデバッグ機能付きエディタ Peggy Pro for PHP
次の記事: 某専用サーバのRHEL3
パフォーマンスはアップしたでしょうか?
自前のWordpressにLAN上のマシンからabで計測した限りでは、使用前:使用後で1.2〜1.5倍以上アップしました。