差分
この文書の現在のバージョンと選択したバージョンの差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
web:e-accelerator:start [2010/09/09 23:06] yuki |
web:e-accelerator:start [2021/09/04 20:18] yuki 削除 |
||
---|---|---|---|
ライン 8: | ライン 8: | ||
</note> | </note> | ||
- | * わかんなかったら | ||
- | * <code> cat README</code> | ||
- | - wget | ||
- | - <code> wget http://bart.eaccelerator.net/source/0.9.6.1/eaccelerator-0.9.6.1.tar.bz2</code> | ||
- | - 解凍 | ||
- | - <code> tar jxvf eaccelerator-0.9.6.1.tar.bz2 </code> | ||
- | - php5-devのインストール | ||
- | - <code>aptitude install php5-dev</code> | ||
- | - phpize | ||
- | - <code>phpize</code> | ||
- | - ./configure | ||
- | - <code>./configure --enable-eaccelerator=shared</code> | ||
- | - make | ||
- | - <code>make && make install</code> | ||
- | - Configのコピー | ||
- | - <code>cp eaccelerator.ini /etc/php5/conf.d/</code> | ||
- | - 再起動 | ||
- | - <code>apache2ctl graceful</code> | ||
+ | * Quick Install | ||
+ | - <code>wget http://bart.eaccelerator.net/source/0.9.6.1/eaccelerator-0.9.6.1.tar.bz2 | ||
+ | tar jxvf eaccelerator-0.9.6.1.tar.bz2 | ||
+ | cd eaccelerator-0.9.6.1 | ||
+ | aptitude install php5-dev | ||
+ | phpize | ||
+ | ./configure --enable-eaccelerator=shared | ||
+ | make && make install | ||
+ | cp eaccelerator.ini /etc/php5/conf.d/ | ||
+ | apache2ctl graceful</code> | ||
+ | <note important>phpのバージョンが上がると、再コンパイルの必要があるよ。というエラーメッセージが出ることがあるので、アップデート後はチェックしましょう。</note> | ||
+ | * <code>[eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.3.2-1ubuntu4.2. | ||
+ | Rebuild it for your PHP version (5.3.2-1ubuntu4.8) or download precompiled binaries.</code> | ||
+ | |||
+ | ===== 比較測定値 ===== | ||
* インストール前<code> | * インストール前<code> | ||
# ab -n 1000 -c 10 http://www.ainoniwa.net/doku/ | # ab -n 1000 -c 10 http://www.ainoniwa.net/doku/ |