ioncube loader

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

Re: ioncube loader

Postby moonman » Fri Aug 15, 2014 7:47 pm

$this->bbcode_second_pass_quote('moonman', '[')code]pacman -Sy wget
mkdir ~/php53
cd ~/php53
wget https://dl.dropboxusercontent.com/u/15043728/ArchLinuxArm/php53/php53.tar.gz
tar xvzf php53.tar.gz
pacman -U *.pkg.tar.xz[/code]


All these commands get it on your device and install all the packages. Wget is what downloads the tarball with packages.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: ioncube loader

Postby capchap » Sat Aug 16, 2014 3:16 am

followed directions, download and tar and pacman were successful

then I restarted httpd and received error message
revewd stats -l and found
$this->bbcode_second_pass_code('', 'Aug 15 22:51:38 Jalepeno systemd[1]: Starting Apache Web Server...
Aug 15 22:51:38 Jalepeno apachectl[1436]: httpd: Syntax error on line 177 of /etc/httpd/conf/httpd.conf: Cannot load modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: undefined symbol: core_globals_id
Aug 15 22:51:38 Jalepeno systemd[1]: httpd.service: control process exited, code=exited status=1
Aug 15 22:51:38 Jalepeno systemd[1]: Failed to start Apache Web Server.
Aug 15 22:51:38 Jalepeno systemd[1]: Unit httpd.service entered failed state.')
just to see what would happen if that line were commented out...
restarted httpd, no error messages.
html page loads fine, but php wont run again.

As I seem to recall, libphp5.so had something to do with the reason it wouldn't run php in the beginning???,
did there need to be a new libphp5.so created? or did I screw up again?
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: ioncube loader

Postby capchap » Sat Aug 16, 2014 6:34 am

help...
I broke soomething...

I wasnt able to get php5.3 working, so I decided to go back to php5.5 and work on another project and come back to php53 later if I dont puchase ioncube loader (they offered to do the whole thing and deliver a working version for 5.5.15.

anyway...
I reinstalled php, mysql, phpmyadmin and corrected the conflicst (php-apache & php-embed) and the server is back on 5..5.15, but I cant get phpMyAdmin to run
i checked the config file for myadmin in the /etc/httpd/extra as well as made sure its included in http.conf
httpd.conf was edited to include the mysqli.so and mcrypt.so files, and maybe a few other things I forgot to mention...

when I try to load it in my browser I get a blank page...web-console is reporting a 500 internal server error.
phpinfo works, webmin works, so it has to be something I didnt pick up with reinstalling phpmyadmin

What do I need to do to fix it? I have doe everything I can find (That I understand to be relevant) short of:
$this->bbcode_second_pass_code('', 'pacman -R php, php-apache mysql myphpadmin')
I really dont want to go that route if there is a simpler solution.

I (think) I have reviewed all the relevant conf files and it still give 500 internal server error
review of log files says:
$this->bbcode_second_pass_code('', '[Sat Aug 16 02:10:57.014373 2014] [:error] [pid 843] [client 192.168.10.4:65168] PHP Warning: Unknown: open_basedir restriction in effect. File(/usr/share/webapps/phpMyAdmin/index.php) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in Unknown on line 0')

I have tried to read and understand wiki php and wiki phpmyadmin.

But I know I missed something because it used to work.

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

Re: ioncube loader

Postby moonman » Sat Aug 16, 2014 7:57 am

Yup libphp5 module is broken/incompatible with current apache, but works well as a separate process (php-fpm). Tested with lighttpd.

I think the error is pretty clear. just comment out open_basedir or add that particular directory to it in php.ini
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: ioncube loader

Postby capchap » Sat Aug 16, 2014 8:19 am

I added the dir, but I am still getting an issue
currently launcing phpmyadmin in browsser, get error message from the mphpmyadmin app that say msyqlimysql not loaded.
They are in the php.ini, they are not commented out, and I have restarted httpd
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: ioncube loader

Postby capchap » Sat Aug 16, 2014 8:27 am

got it back

so I am a little less anxious
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: ioncube loader

Postby capchap » Sat Aug 16, 2014 8:34 am

So I think I'll stay away from downgrading at this point. seems too many things for me to consider I am overwhelmed.

Ioncube says they will make it all now and charge same price. So I'll go that route, if everything else pans out.

In case anyone is interested in why I want pogoplu up.
My plan is to use it as an intranet server that will run a basic part of my website (which requires ioncube loader).
My website has a training utility I wrote (can run outside of my web-app, but looks nicer when run inside)
and finally I want it to timemachine to a drive on the pogoplug so I dont have to keep plugging in an external drive to my MAC

I have most of the timemachine stuff done, but thats another topic.
this topic is really closed now as far as I'm concerned.
Thank you to moonman, pepedog, & warheadsSE for your help
and thank you to anyone else who cimed in and I missed.
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Previous

Return to ARMv5

Who is online

Users browsing this forum: No registered users and 9 guests