Service httpd Restart1, first do the operation to open the PHP extension file directory:
Cd/www/wdlinux/php/lib/php/extensions
2, then 32-bit system Linux execution:
Wget-c http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
64-bit system Linux execution:
Wget-c http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
3, unpack the software package
32-bit system Linux execution:
TAR-ZXVF ioncube_loaders_lin_x86.tar.gz
64-bit system Linux execution:
TAR-ZXVF ioncube_loaders_lin_x86-64.tar.gz
4, modify the/www/wdlinux/etc/php.ini at the end of the file add the following code:
[Ioncube Loader] zend_extension= "/www/wdlinux/php/lib/php/extensions/ioncube/ioncube_loader_lin_5.2.so"
It's best to put it on top of the Zend to achieve Zend Optimizer and ioncube perfect coexistence.
5, restart Apache is the service effective
Service httpd Restart