eAccelerator is a free open-source PHP accelerator. It increases the performance of PHP scripts by caching them in their compiled state.
In this Fedora eaccelerator installation, /var/www/html is the main html folder for http://server.domain.com.
Through SSH
yum -y install php-eaccelerator
View phpinfo() to verify if eAccelerator is enabled
echo "<?php phpinfo(); ?>" > /var/www/html/phpinfo.php
Then point your browser to http://server.domain.com/phpinfo.php
or
Open a text editor and type:
<?php phpinfo(); ?>
Save as phpinfo.php and upload it to /var/www/html/
Point your browser to http://server.domain.com/phpinfo.php
Control Panel
Copy control.php to your main html folder.
cp /usr/share/doc/php-eaccelerator-0.9.5.2/control.php /var/www/html
Edit control.php. Change $user and $pw to your desired username and password.
$user = "admin";
$pw = "eAccelerator";
Edit the file /etc/php.d/eaccelerator.ini
vi /etc/php.d/eaccelerator.ini
Find eaccelerator.allowed_admin_path and enter “/var/www/html/control.php”
eaccelerator.allowed_admin_path = “/var/www/html/control.php”
Save and exit.
Restart Apache.
/etc/init.d/httpd restart
View your eAccelerator control panel at http://server.domain.com/control.php
vi Basics
press i = to insert
press Esc = return to command
type :wq press Enter = save file and quit
type :q! press Enter = quit without saving
Files and Directories
eaccelerator cache = /var/cache/php-eaccelerator
eaccelerator.ini = /etc/php.d/eaccelerator.ini
control.php = /usr/share/doc/php-eaccelerator-0.9.5.2



















