PHP eAccelerator'ın kurulması (Ubuntu)
sudo su
cd /root
unzip eaccelerator-0.9.6.1.zip
cd eaccelerator-0.9.6.1
apt-get install php5-dev
apt-get install make
phpize
./configure
make
make install
nano /etc/php5/apache2/conf.d/eaccelerator.ini
dosyanın içine şunu yazalım:extension="eaccelerator.so"
eaccelerator.shm_size="0"
eaccelerator.cache_dir="/var/cache/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
mkdir -p /var/cache/eaccelerator
chmod 0777 /var/cache/eaccelerator
service apache2 restart
Yeni yorum ekle