Installation procedure of ionCube runtime system
Radius Manager requires ionCube runtime libraries. You can download them from:
http://www.dmasoftlab.com/downloads
Before installing ionCube, You have to know the following:
1. The Linux system architecture (32 or 64 bit)
2. Which PHP version are You using
3. Where is your php.ini file located
Example ionCube installation
1. Copy and untar the ionCube runtime libraries (32 or 64 bit – use the correct archive) to
/usr/local/ioncube. Use Midnight Commander or other tool to do this.
2. Add the appropriate ionCube loader to your php.ini. For example, on a Linux running PHP
5.2.2 You will have to add the following line:
zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.2.so
Be sure to use the correct PHP version in the zend_extension line.
If there are other zend_extension entries in the php.ini file, place this new entry before the
existing entries.
Please note. on Debian based systems there are two php.ini files:
/etc/php5/apache2/php.ini
/etc/php5/cli/php.ini
You have to add the ionCube loaders in both files! On Fedora systems there is only one
php.ini file available: /etc/php.ini
3. Test the ionCube loaders from shell:
[root@localhost]# php -v
PHP 5.1.2 (cli) (built: Feb 28 2006 06:21:15)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with the ionCube PHP Loader v3.1.31, Copyright (c) 2002-2007, by ionCube Ltd.
You have to see the ionCube PHP Loader version displayed correctly.
prvo kucni php -v da vidis koju opce verziju php imas, u mom slucaju 5.1.2
skini ioncube sa te njegove stranice untaraj, kopiraj u /usr/local/ioncube o
tvori php.ini fajl i stavis ovako:
#ioncube loader
zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.1.so
Ja imam centos pa ja dodajem na jedno mjesto samo a ti moras na 2 mjesta:
/etc/php5/apache2/php.ini
/etc/php5/cli/php.ini
kada si to sve napravio kucnes opet php -v
i ako dobijes ovakvu poruku uspio si :
[root@localhost]# php -v
PHP 5.1.2 (cli) (built: Feb 28 2006 06:21:15)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with the ionCube PHP Loader v3.1.31, Copyright (c) 2002-2007, by ionCube Ltd.
poslje ovog sve sto je potrebno je restart apache servisa
ROCK"n"Roll