Advertisement
tinwaninja

Ioncube

Aug 18th, 2018
173
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env bash
  2. NYIDI="cd /usr/local"
  3. eval $NYIDI
  4. NGEGET="wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz"
  5. eval $NGEGET
  6. UNTAR="tar xzf ioncube_loaders_lin_x86-64.tar.gz"
  7. eval $UNTAR
  8.  
  9. NGOPY="cp /usr/local/ioncube/ioncube_loader_lin_7.1.so /opt/zesle/zesle-php71/root/usr/lib64/php/20160303/"
  10. eval $NGOPY
  11. PERMISI="chmod 755 /opt/zesle/zesle-php71/root/usr/lib64/php/20160303/ioncube_loader_lin_7.1.so"
  12. eval $PERMISI
  13. NGECHO="bash -c 'echo \"zend_extension=ioncube_loader_lin_7.1.so\" > /opt/zesle/zesle-php71/root/etc/php.d/ioncube.ini'"
  14. eval $NGECHO
  15.  
  16. NGOPY2="cp /usr/local/ioncube/ioncube_loader_lin_5.6.so /opt/zesle/zesle-php56/root/usr/lib64/php/20131226/"
  17. eval $NGOPY2
  18. PERMISI2="chmod 755 /opt/zesle/zesle-php56/root/usr/lib64/php/20131226/ioncube_loader_lin_5.6.so"
  19. eval $PERMISI2
  20. NGECHO2="bash -c 'echo \"zend_extension=ioncube_loader_lin_5.6.so\" > /opt/zesle/zesle-php56/root/etc/php.d/ioncube.ini'"
  21. eval $NGECHO2
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement