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 -

ERROR
====

PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/modules/ioncube/ioncube_loader_lin_5.1.so’ – /usr/lib/php/modules/ioncube/ioncube_loader_lin_5.1.so
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
====

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

SOLUTION
====

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

“zend_extension=/path to your ioncube folder/ioncube_loader_lin_5.1.so”


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

  • Subscribe Me

  • Tag Cloud

  • Archives