LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   IonCube installtion issues (https://www.linuxquestions.org/questions/linux-newbie-8/ioncube-installtion-issues-4175557766/)

AdultFoundry 11-02-2015 06:02 AM

IonCube installtion issues
 
I am instaling IonCube loader, and I got the following errors through http://domain-name.com/ioncube/loader-wizard.php


1) Please note that the following problem currently exists with the ionCube Loader installation: The necessary zend_extension line could not be found in the configuration.

2) Please note also the following issue: The correct loader for your system has been found at /var/www/html/domain-name.com/ioncube/ioncube_loader_lin_5.4.so. You may wish to copy the loader from /var/www/html/domain-name.com/ioncube/ioncube_loader_lin_5.4.so to /usr/lib64/php/modules.

I already copied the ioncube_loader_lin_5.4.so to /usr/lib64/php/modules

Location of php.ini file on this system is /etc/php.ini

The following article says to install Zend Optimizer, at this point:

http://www.servermom.org/how-to-inst...-centos-6/802/
http://www.servermom.org/how-to-inst...th-apache/775/

Other legitimate sources say to just add this line to php.ini file:

Code:

'zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.3.so'
So this another situation when I am not sure what to do, and I dont want to mess anything up. Would I just add this line to php.ini (where, at the very bottom?) or install the Zend Optimizer program, and go from there?

Thanks.

AdultFoundry 11-02-2015 07:30 AM

This seems to be another of those situations with Linux / CentOS7, where it is harder or much harder than it needs to be. I figured, although I am not 100 sure that I need Zend Optimizer, which is now called Zend Guard. I signed up to the http://zend.com website (I cant download or get the url for the download without signing up), downloaded the version for 64 bit Liux from there, and fine that is needed, which is called ZendGuardLoader.so is not there. I run

Code:

find /home/user_one/ZendGuard -name "*.so"
I got a list of files, but nothing close to what I've been looking for. The file that I go from zend.com is called "ZendGuard-7.0.0-linux.gtk.x86_64.tar" and it is 76.4 MB in size. Some kind of akward files there containing "eclipse" in their names, I am not sure what this is. So every person who wants to install IonCube Loader on current CentOS systems, or lets say all Linux systems (which is probably a lot) downloads that?

Or am I doing something wrong here? This is most likely the case. I am basing this on two tutorials with the same content (to do what I've just described) that I've found on good and legitimate source on the Net.

John VV 11-02-2015 01:06 PM

you DO know that you are using instructions for a VERY!!! different Operating system

- first link

"How To Install IonCube Loader on CentOS 6"

RHEL / CentOS/ SL 7 are VERY VERY VERY different than 6 was
there were VERY MAJOR CHANGES MADE

basically you can not use instructions for 6 on 7

it would be line using Windows 7 instructions on Windows 10

that will not work out well !


and the second link
"
How to Install Zend Optimizer On CentOS 6 with Apache"
also for RHEL / CentOS / SL 6

again you really can not use instructions for a different operating system

under the hood rhel6 and 7 are VERY DIFFERENT

AdultFoundry 11-02-2015 01:10 PM

I got info from people from IonCube.com (support ticket). Zend Optimizer / Zend Guard is not needed and it does not have anything to do with it, at this point. The only thing that is needed is this like added to the php.ini file, restaring the httpd, and everything should work.


All times are GMT -5. The time now is 11:39 AM.