Solved

Install ioncube on ubuntu error

Posted on 2012-03-14
3
717 Views
Last Modified: 2012-03-30
Hello,

I need to install ioncube on ubuntu so I did the following:

http://www.aionsolution.com/blog/linux/install-ioncube-in-ubuntu/
IonCube protects software written using the PHP programming language from being viewed, changed, and run on unlicensed computers.

1. Download ionCube loaders

sudo wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz

2. Extract

sudo tar zxvf ioncube_loaders_lin_x86.tar.gz

3. Move to a permanent location

sudo mv ioncube /usr/local/

4. Add reference to your php.ini file (sudo pico /etc/php5/apache2/php.ini)

zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so

There are a few versions of the loader in the tar archive. Use the one that matches your PHP version.

5. Restart apache

sudo /etc/init.d/apache2 restart

6. check installation using following command:
php -v
you should see following output:

PHP 5.1.6 (cli) (built: Apr 7 2009 08:00:04)
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.34, Copyright (c) 2002-2009, by ionCube Ltd.

Open in new window


Everything went ok, except the last command: php -v gave the following message:
php -v                                            
 PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imap.ini on lin
 e 1 in Unknown on line 0                                                                          
 PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on l
 ine 1 in Unknown on line 0                                                                        
 PHP Warning:  Module 'mysql' already loaded in Unknown on line 0                                  
 PHP 5.3.2-1ubuntu4.9 with Suhosin-Patch (cli) (built: May  3 2011 00:45:52)                      
 Copyright (c) 1997-2009 The PHP Group                                                            
 Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies                                    

And when I want to install the real program that uses IonCube, the web page is blank.

Can you help me?

Thank you
0
Comment
Question by:starhu
  • 2
3 Comments
 
LVL 2

Expert Comment

by:erax0r
ID: 37721335
Ioncube is loaded according to that. Which program are you running, have you checked the log files for that program and also enabled debugging mode if it has one?
0
 

Accepted Solution

by:
starhu earned 0 total points
ID: 37730144
I solved it finally: I started loader-wizard.php  and this showed me what the error was
0
 

Author Closing Comment

by:starhu
ID: 37786115
I solved it
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Access_log 17 101
Calculating number of days between two dates 7 33
how to rebuild XFS volume from LV 19 41
echo time from sql to input type="time" 9 21
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now