2008年10月21日 星期二

Install ioncube loader for atmail server test ver for linux

[ wrote from http://www.ioncube.com/loader_installation.php ]

Installation on a Unix Server

If your PHP is not threaded you need a Loader called:

ioncube_loader__.so

If your PHP is threaded you need a Loader called:

ioncube_loader___ts.so

will be 'lin' for Intel Linux, 'fre' for FreeBSD, 'sun' for Sparc Solaris, 'ope' for OpenBSD, 'dar' for OSX and 'net' for NetBSD.

will be 4.0, 4.1, 4.2 or 4.3 - i.e the first 2 digits of your PHP version.

Edit your php.ini file and for non-threaded PHP add:

zend_extension = //ioncube_loader__.so

and for threaded PHP add:

zend_extension_ts = //ioncube_loader___ts.so

Replace and with whatever is right for your system, and with the path to where the Loader is installed, e.g. /usr/local/ioncube

If there are other zend_extension entries in the php.ini file place this new entry before the existing entries.

For example, with Linux running PHP 4.1.2 and Apache 1, you might add:

zend_extension = /usr/local/ioncube/ioncube_loader_lin_4.1.so

For FreeBSD running threaded PHP 4.3.1 with Apache 2, you might add:

zend_extension_ts = /usr/local/ioncube/ioncube_loader_fre_4.3_ts.so

沒有留言: