Installation Of ZendOptimizer And IonCubeLoader Using Lighttpd On CentOS
|
Submitted by rhein.andrea (Contact Author) (Forums) on Thu, 2010-03-11 12:25. :: CentOS | Lighttpd | PHP
Installation Of ZendOptimizer And IonCubeLoader Using Lighttpd On CentOSThis tutorial explains how to enable ZendOptimizer and IonCubeLoader in PHP on a Lighttpd web server on CentOS.
What is Ioncube Loader?IonCube loader is the PHP extension that decodes encrypted PHP files on runtime. It is freely available and installation is very easy.
What is Zend Optimizer?The Zend Optimizer is a free runtime application that enables PHP to run the files encoded by the Zend Guard. This can be freely used by anyone looking to run encoded applications. Please download and follow the installation instructions included in the distributions.
Install IonCube LoaderGet the latest version of the ionCube Loader from http://www.ioncube.com/loaders.php.
1. Download Ioncube Loader[root@server ~]# cd /tmp [root@server ~]# wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz [root@server ~]# cd ioncube/ [root@server ioncube]# mkdir /usr/local/lib/ioncube [root@server ~]# mv ioncube_loader_lin_5.0.so /usr/local/lib/ioncube/
2. Now edit /etc/php.iniAdd this line right at the beginning: [root@rhesa ~]# nano /etc/php.ini [PHP] zend_extension=/usr/local/lib/ioncube/ioncube_loader_lin_5.0.so
Zend OptimizerGet the latest version of the Zend Optimizer from http://www.zend.com/en/products/guard/downloads and save it in your /tmp directory.
1. Download Zend Optimizer[root@server ~]# cd /tmp/ [root@server tmp]# tar zxvf ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz.gz [root@server ~]# cd ZendOptimizer-3.3.3-linux-glibc23-i386/data/5_0_x_comp/ [root@server 5_0_x_comp]# mkdir /usr/local/lib/Zend [root@server 5_0_x_comp]# mv ZendOptimizer.so /usr/local/lib/Zend/
2. Now edit /etc/php.iniAdd this line right at the beginning: [root@server ~]# nano /etc/php.ini [PHP] zend_extension=/usr/local/lib/ioncube/ioncube_loader_lin_5.0.so zend_extension=/usr/local/lib/Zend/ZendOptimizer.so zend_optimizer.optimization_level=15 Restart lighttpd: [root@server ~]# /etc/init.d/lighttpd restart The extension should now be visible in the output of the phpinfo(); PHP function.
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
One number. one voicemail. Seize the lead with Sprint. Learn more
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video
Sprint 4G - The Ultimate Mobile Broadband
Click here
SAP-Business Objects Crystal Reports Server
Complete reporting without hidden costs. Free Trial







Recent comments
5 hours 57 min ago
8 hours 48 min ago
14 hours 27 min ago
14 hours 30 min ago
15 hours 14 min ago
22 hours 17 min ago
22 hours 55 min ago
23 hours 57 min ago
1 day 3 hours ago
1 day 4 hours ago