ioncube loader

This forum is for topics dealing with problems with software specifically in the ARMv5 repo.

ioncube loader

Postby capchap » Mon Aug 11, 2014 5:25 pm

I searched several forums for ioncube and didn't find anything so I guess either no one has installed ioncube loader, or no one has had any trouble doing so.

I did read some on google and on archlinux and there doesnt seem to be a way to do it using pacman as pacman reports target not found.

There is a script at
$this->bbcode_second_pass_code('', 'https://github.com/mtorromeo/archlinux-packages/blob/master/php-ioncube_loader/PKGBUILD')
hope I did that appropriately...not sure I want to follow it though. Looks like an opportunity for me to mis-type something.

i did find a package at AUR located at $this->bbcode_second_pass_code('', 'https://aur.archlinux.org/packages/php-ioncube_loader/')
so I guess an appropriate starting point would be something like $this->bbcode_second_pass_code('', 'wget https://aur.archlinux.org/packages/php-ioncube_loader/')
followed by an appropriate tar command. I suppose tar unpacks in place unless you add the -C directive?

Next it would be a simple matter of adding the include in php.ini.

we'll find out...I'm going to give it a whirl


Did I overlook anything?
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: ioncube loader

Postby pepedog » Mon Aug 11, 2014 5:42 pm

That looks like for x86 only, not for arm
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: ioncube loader

Postby capchap » Mon Aug 11, 2014 6:18 pm

Nope,
all that did was download the webpage
the correct syntax seems to be
$this->bbcode_second_pass_code('', 'wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.bz2
followed by
tar -jxvf ioncube_loaders_lin_x86.tar.bz2')
-j flag deals with bz2

so to do what I need to accomplish i need
"PHP ionCube Loader v4.4 or higher"

So I know I need to include it in php.ini and from previous installs it has to be AFTER the zend load
however...
according to ioncude:
Before installing, you need to know: a review of phpinfo yeilds:
Which operating system you are using. linux
Which PHP version you are using. 5.5.15
Is your PHP build threaded or not? disabled
Where your php.ini file is. /etc/php

Further:
if your PHP is not threaded you need a Loader called:
ioncube_loader_<os type>_<php flavour>.so
therefore:
Edit your php.ini file and for non-threaded PHP add:
$this->bbcode_second_pass_code('', 'zend_extension = /<path>/ioncube_loader_<os type>_<php flavour>.so ')
<php flavour> will be 4.0, 4.1, 4.2 or 4.3 - i.e the first 2 digits of your PHP version.
therefore:
$this->bbcode_second_pass_code('', 'zend_extension = /etc/ioncube/ioncube_loader_lin_5.5.so ')

I'll wait a bit to see if anyone think I made a boo boo.
but I think I got it right.
comments appreciated.
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: ioncube loader

Postby capchap » Mon Aug 11, 2014 6:23 pm

pepedog,

yes, I see that it is for x86. so I guess those are no good for the processor that's in the pogoplug

so does that mean I have to go to ioncube and 'build' one for this processor or...
Thats not how its done...?
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: ioncube loader

Postby capchap » Mon Aug 11, 2014 6:33 pm

PS, what does ARM stand for?

there is other code for this processor, like apache, php and webmin and mysql, etc.
does that mean someone wrote them specifically for this processor? and then again for the v4 pogoplug etc?

seems like such a small audience of users to be writing major code like that without any compensation.

if that's the case, I'm impressed! . . . that's some serious dedication to a project.
where can I read more about this chipset?
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: ioncube loader

Postby pepedog » Mon Aug 11, 2014 6:52 pm

Some say it stands for A Romantic Machine, you have armv5
http://en.m.wikipedia.org/wiki/ARMv7

Lots of packages, http://archlinuxarm.org/packages
Plus you found aur
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: ioncube loader

Postby capchap » Tue Aug 12, 2014 10:58 pm

Hi all,
I communicated with ioncube support.
They sent me some ioncube.so loaders that they say were cross compiled for ARM
however, none of them worked for me. they were two different versions 4.2 & 4.5
there is a reference to raspi, so maybe someone knows what that means...and possibly why it doesnt work on my pogoplug v2 E02 kirkwood (maybe I just answered my own question???)

if anyone wants them let me know (and let me know how to get them to you)

To development team:
and I will try somehow let them know more directly, but I know moonman is developer so maybe you can help me get this infor to them (whoever) needs/could take advantage is desired.

I have an idea what he is talking about, but not sure what it means investment-wise, in equipment with regard to cross-compiler tool chain....

I hope there is some type of mechanism in place to make this happen, but I understand if it is cost-prohibitive.

here is transcript of our email communique:
Hi,

This isn't a platform that we support as standard though we have built
Loaders for ARM in the past and I will attach the Loaders we do have to
this ticket for you to test with. If you find success then great however
if you do not and still require a loader, we do have a custom Loader
porting service that can be purchased. Providing that there is an x86
cross compiling tool chain available for your system, we should be able
to produce a build within around 10 working days (2 weeks).

The provisional quote for this is $250, which goes some way towards the
costs of producing a custom build, and we will advise if the quote will
be significantly different once we have details of the tool chain.

Please let me know if this is something you would be interested in or if
you require any further assistance.

Kind Regards,
Ben
ionCube
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: ioncube loader

Postby WarheadsSE » Wed Aug 13, 2014 12:47 pm

The Raspberry Pi is an ARMv6, and binaries from it are not capable of being ran on ARMv5.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: ioncube loader

Postby capchap » Wed Aug 13, 2014 1:54 pm

Hi all,
I just got a new file from ioncube.
the support persons says (excerpt):
I have found another Loader that I have checked with the team and it
should work for your system so please try the attached file and let me
know if you are successful.

Kind Regards,
Ben
ionCube

the file he sent is called:
phpd-4.5-libs-linux_armv5tel-glibc2.9.tgz
so, I have unpacked the tgz file they sent in my /etc/ioncube dir; it essentially contains a file called ioncube_loader_4.5.so located in a dir called:
/etc/ioncube/inux_armv5tel-glibc2.9/5.3.0/ioncube_loader_4.5.so
I'm guessing 5.3.0 is referring to php release???

I have included $this->bbcode_second_pass_code('', 'zend_extension=/etc/ioncube/ioncube_loader_4.5.so') in my php.ini file
I have restarted http, but it is still not being reported by php info.

I have checked $this->bbcode_second_pass_code('', 'systemctl status httpd') as sell as looking at content of access_log and error_log and neither contain any errors. (I'm surprised there is a command in php.ini that isn't working AND isn't producing an error, but maybe I'm looking in the wrong place???)

Also, if 5.3.0 is referring to php release, does it matter that I'm running 5.5.15?

thanks for any guidance.
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: ioncube loader

Postby capchap » Wed Aug 13, 2014 2:28 pm

just got email from ioncube.
support person (Ben) confirmed that this loader will not run on 5.5.15, that I need 5.3.0
is that available?

I can remove php with pacman, but how do I identify and load an older version of php?
I looked at archlinux.org/packages, but didnt see anything except 5.5
Also, I guess I would need a 5.3 version of mysql and possibly other things?


Thanks,
don
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Next

Return to ARMv5

Who is online

Users browsing this forum: No registered users and 8 guests