while downloading itself you should download correct architecture. http://www.ioncube.com/loaders.php Linux (x86-64)
I have done that but in order for me to edit the php.ini file i need to delate the other version or it will open that instead and i do not know how to do that.
The loader should be located in /usr/local/ioncube directory. You can remove the wrong version, though this is not necessary. Just download the correct one and modify php.ini accordingly. For installation instructions please see http://www.ioncube.com/loader_installation.php. Good luck!
Like i said when i try to modify php.ini it is modifying the wrong version since its still on the system and i have no idea how to delate it. P.S If anyone has teamviewer please PM me i could really do with hands on assistance.
What do you mean "it is modifying the wrong version"? You're the one doing the modification.. just change the path to the new ioncube files with 64bit.
root@cserver1 [~]# tar zfx ioncube_loaders_lin_x86-64.tar.gz root@cserver1 [~]# mv ioncube /usr/local mv: cannot move `ioncube' to a subdirectory of itself, `/usr/local/ioncube' root@cserver1 [~]# php -i | grep php.ini Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so: /usr/local/ioncube/ioncube_loader_lin_5.2.so: wrong ELF class: ELFCLASS32 Configuration File (php.ini) Path => /usr/local/lib Loaded Configuration File => /usr/local/lib/php.ini
Clean up ioncube directory first: cd /usr/local/ioncube rm -f ioncube* Then jump back to the directory where "ioncube_loaders_lin_x86-64.tar.gz" file is located and do this: tar zfx ioncube_loaders_lin_x86-64.tar.gz cd ioncube cp -R * /usr/local/ioncube This should do the trick, provided you have already modified php.ini as per instructions at http://www.ioncube.com/loader_installation.php PS Don't forget to restart Apache.
rm -rf /usr/local/ioncube rmdir /usr/local/ioncube Recursively removed everything in directory, then reinstalled tar zfx ioncube_loaders_lin_x86-64.tar.gz this can be close