Ioncube install

theplayer

Verified User
Joined
Jan 26, 2009
Messages
69
For a cms system i need to install Ioncube on the server. The servers is Debian 5 and Directadmin.

So i have following this:



# wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
# tar zxvf ion*
# cd ion*
# cp ioncube_loader_lin_5.2.so /usr/local/lib/php/extensions/ (have php 5.2.9)
# nano /usr/local/lib/php.ini
look for extensions section
add :
zend_extension=/usr/local/lib/php/extensions/ioncube_loader_lin_[your php version].so
save and exit
# service httpd restart
to verify :
# php -v

But i get an error by "cp ioncube_loader_lin_5.2.so /usr/local/lib/php/extensions/"


theplayer:~/ioncube# cp ioncube_loader_lin_5.2.so /usr/local/lib/php/extensions/
cp: cannot create regular file `/usr/local/lib/php/extensions/': Is a directory


What do i wrong?
 
Last edited:
Try specifying where you want to place the ioncube file in a little more detail (add a dot at the end)
Code:
cp ioncube_loader_lin_5.2.so /usr/local/lib/php/extensions/[B].[/B]
 
hmmm no errors anymore but ioncube isn't instalt?
How can i check it if its ok?

Maybe there is a work around or manual for debian 5 and directadmin to install ioncube?
 
lol very easy solution:

Put ioncube folder in public_html dir and add: http://www.iriebroadcast.net/ioncube/ioncube-encoded-file.php" tot php.ini en restart httpd and it runs!
 
Back
Top