Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

how to install ioncube loader autoinstaller

How to Install Ioncube Loader AutoInstaller
1.Create a file named ioncubeinstaller.sh

Quote:touch ioncubeinstaller.sh

2.Edit ioncubeinstaller

Quote:pico ioncubeinstaller.sh

3.Paste the following into it


if [ ${WHO} == "root" ]
echo "Script Initialized ..."
echo "You must be logged in as root to install ionCube Loader."
echo "Terminating ..."
exit 0

echo "Changing directory"

cd /usr/local/

echo "Done."

if [ -e ioncube_loaders_lin_x86.tar.gz ]
rm -f ioncube_loaders_lin_x86.tar.gz

echo "Downloading files"

wget http://downloads2.ioncube.com/loader_dow...x86.tar.gz

echo "Done."

echo "Installing files"

tar -zxvf ioncube_loaders_lin_x86.tar.gz

echo "Done."

echo "Changing ownership"

chown -R root.root ioncube

echo "Done."

phpline=`php -v | grep ^PHP | cut -f2 -d " "| awk -F "." '{print "zend_extension=\"/usr/local/ioncube/ioncube_loader_lin_"$1"."$2".so\""}'`
phpinifile=`php -i | grep php.ini | grep ^Configuration | cut -f6 -d" "`

echo "Adding line $phpline to file $phpinifile"
echo "$phpline" >> $phpinifile

rm -f ioncube_loaders_lin_x86.tar.gz

echo "Ioncube installed sucessfully"

4.Save the file
Quote:press ctrl+x then type y then hit enter

5.Chmod the file to 0755
Quote:chmod 755 ioncubeinstaller.sh

6.Execute it

7.Delete the installer
Quote:rm -f ioncubeinstaller.sh

Dinesh Kumar Mohanty
Ultra Web Solutions®
Bhubaneswar, Odisha, India.

UltratechHost - Your One Stop Offshore & Onshore Hosting Provider
Server Locations : Netherlands, Germany, Russia, Singapore & USA
Service Offers: Shared hosting | Reseller hosting | Cloud server | Dedicated server | VPS Hosting

Forum Jump:

Users browsing this thread: 1 Guest(s)