PHP Cache

Written by Pravin on October 18, 2008 – 10:23 am -

If your sites are using php as the major scripting & the server load is highly around 10+, PHP Cachers like APC , Xcache or Eaccelerator can are really help to minimize the load to 1-2.

APC: The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. It was conceived of to provide a free, open, and robust framework for caching and optimizing PHP intermediate code.

XCache: XCache is a open-source opcode cacher, which means that it accelerates the performance of PHP on servers. It optimizes performance by removing the compilation time of PHP scripts by caching the compiled state of PHP scripts into the shm (RAM) and uses the compiled version straight from the RAM. This will increase the rate of page generation time by up to 5 times as it also optimizes many other aspects of php scripts and reduce serverload.

Eaccelerator: It is a free open-source PHP accelerator, optimizer, and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.

Tags: , , , ,
Posted in Dedicated Server Hosting, linux, Linux VPS Hosting, Plesk For Linux, VPS hosting, Windows VPS | 1 Comment »

Error after installing Ioncube

Written by Jahangir on October 17, 2008 – 3:10 pm -


PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/modules/ioncube/’ – /usr/lib/php/modules/ioncube/
The ionCube Loader is a Zend-Engine extension and not a module
Please specify the Loader using ‘zend_extension’ in php.ini
PHP Fatal error: Unable to start ionCube Loader module in Unknown on line 0

The ionCube Loader is a Zend-Engine extension and if the ionCube Loader is not specify properly in php.ini using ‘zend_extension’.


Only you need to specify the ionCube Loader properly in php.ini using ‘zend_extension’ like,

“zend_extension=/path to your ioncube folder/”

Tags: , , ,
Posted in Dedicated Server Hosting | 3 Comments »

Enable Pear (php) for a Domain on Plesk

Written by Pravin on October 10, 2008 – 4:02 am -

Installing php-pear

First we will have to install the php-pear module on the server. This can be done using yum.

yum install php-pear*

We must also configure pear in php config at /etc/php.ini.


Restart apache on the server.

/etc/init.d/httpd stop
/etc/init.d/httpd start

Enable PEAR for a domain.

Create a file called vhost.conf in /var/www/vhosts/ with the following contents:

<Directory /var/www/vhosts/>
php_admin_value include_path “/var/www/vhosts/”
php_admin_value open_basedir “none”

Reconfigure your webserver so it will look for your new vhost.conf file by doing this:

/usr/local/psa/admin/sbin/websrvmng –reconfigure-vhost –

Finally  restart apache service:

/etc/init.d/httpd stop
/etc/init.d/httpd start

Tags: , , , ,
Posted in linux, Linux VPS Hosting, Plesk For Linux, VPS hosting | 3 Comments »

  • Subscribe Me

  • Tag Cloud

  • Archives