[PukiWiki:wiki] BSD/FreeBSD/Apache/PHP/eAccelerator

最終更新日: 2008/12/10 09:33:18

目次

リンク

インストール

# portinstall www/eaccelerator

You have installed the eaccelerator package.

Edit /usr/local/etc/php.ini and add:

zend_extension="/usr/local/lib/php/20060613/eaccelerator.so"

Then create the cache directory:

mkdir /tmp/eaccelerator
chown www /tmp/eaccelerator
chmod 0700 /tmp/eaccelerator

eAccelerator の有効化

# echo "extension=eaccelerator.so" >> /usr/local/etc/php/extensions.ini

# vi /usr/local/etc/php.ini

[eaccelerator]
eaccelerator.debug = 0

# mkdir /tmp/eaccelerator
# chown www /tmp/eaccelerator
# chmod 0700 /tmp/eaccelerator

# /usr/local/etc/rc.d/apache22 restart