Quote:
Originally Posted by linux Hello, someone have a how to, to install eAccelerator in server?, thank you. |
It is setup be default on all HostV VPS's
But......
Download the latest version of eAccelerator from
http://eaccelerator.net, Version may of changed....

Login via SSH as
ROOT!
Code:
wget http://bart.eaccelerator.net/source/0.9.5.3/eaccelerator-0.9.5.3.tar.bz2
After you download the file, uncompress the file
Code:
tar xjvf eaccelerator-0.9.5.3.tar.bz2
You will then have a new directory called eaccelerator-0.9.5.3, go to that
Code:
cd eaccelerator-0.9.5.3
directory and execute this command:
Run phpize Configure eAccelerator After that, don’t forget to build the files You might want to run make test to test it first.
Finally, we install eAccelerator You process will give you and output that might be similar to this line below:
Code:
Installing shared extensions: /usr/lib/php5/20060613+lfs/
Copy the above information to a text file, we gonna need this one later. Now that we’ve finally managed to install eAccelerator, we have to add several settings to the php.ini file.
Code:
vi /etc/php5/apache2/php.ini
(NOTE: This may vary depending on which Linux you have installed.)
And then insert this code at the end of php.ini file.
Code:
zend_extension="/usr/lib/php5/20060613+lfs/eaccelerator.so"
eaccelerator.shm_size="0"
eaccelerator.cache_dir="/home/cache/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.allowed_admin_path=""
Note that we used the line we previously saved on the zend_extention parameter. You can also change the value of eaccelerator.cache_dir to any directory you want.
To see weather eAccelerator was successfully installed, create phpinfo file in your site directory. You should see a eAccelerator v0.9.5.3 text somewhere in the phpinfo page.