XAMPP ionCube Loader Tutorial – Install ionCube Loader on XAMPP

Home Forums BulletProof Security Pro XAMPP ionCube Loader Tutorial – Install ionCube Loader on XAMPP

This topic contains 3 replies, has 3 voices, and was last updated by  Alyssa 2 weeks, 4 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3253

    AITpro Admin
    Keymaster

    1.  Download ionCube Loader zip or exe installer from the ionCube website:  http://www.ioncube.com/loaders.php  To get the correct ionCube Loader download you will need to look at your PHP Server phpinfo() information (see Example XAMPP Phpinfo information below).  Download the appropriate zip/exe file installer based on your phpinfo Compiler and Thread safety information that you will find in phpinfo.

    Note:  Thread Safety enabled means thread-safe.  Thread Safety disabled means Non-TS/non thread-safe.

    Note:  To create a phpinfo file to view your phpinfo.  Create a php file called phpinfo.php and add the PHP phpinfo(); function in that file and open the file in your Browser.  Example:  http://localhost/phpinfo.php.

    2.  Install/unzip the ioncube loader to \xampp\php (or whatever xampp directory/folder name you have created).  You should end up with this folder \xampp\php\ioncube\ after installing the exe or if you want you can just unzip the files and then manually create this folder and copy all the files into this folder.

    3.  Edit your php.ini file here – \php\php.ini (or if you have your php.ini file in another location then edit that php.ini file). Add this zend_extension directive shown below in your php.ini file and stop and restart your Apache Server.

    [ionCube Loader]
    zend_extension = "C:\xampp\php\ioncube\ioncube_loader_win_5.4.dll"

    Important Note:  This zend_extension directive above MUST come before any other zend_extension directives in your php.ini file. At the time this tutorial was created (3-20-2013) the correct ioncube_loader extension for XAMPP is the one shown below. XAMPP is using PHP5.4.x in the version that is currently installed on my system.  The ionCube Loader version should match your PHP Server version.  5.4 => 5.4

    Troubleshooting Note:  If you run into problems. Copy the \xampp\php\ioncube\loader-wizard.php file to the root of any of your XAMPP websites.

    Example XAMPP websites:  localhost/loader-wizard.php, example.local/loader-wizard.php, example.dev/loader-wizard.php and launch this file in your Browser.  Example:  http://localhost/loader-wizard.php.  This will start the ionCube Loader troubleshooting wizard, which will tell you exactly what is wrong.

    Example XAMPP Phpinfo information 

    PHP Version 5.4.7

     

    System Windows NT 6.1 build 7601 (Windows 7 Home Premium Edition Service Pack 1) i586
    Build Date Sep 12 2012 23:44:56
    Compiler MSVC9 (Visual C++ 2008)
    Architecture x86
    Configure Command cscript /nologo configure.js “–enable-snapshot-build” “–disable-isapi” “–enable-debug-pack” “–without-mssql” “–without-pdo-mssql” “–without-pi3web” “–with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared” “–with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared” “–with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared” “–enable-object-out-dir=../obj/” “–enable-com-dotnet=shared” “–with-mcrypt=static” “–disable-static-analyze” “–with-pgo”
    Server API Apache 2.4 Handler Apache Lounge
    Virtual Directory Support enabled
    Configuration File (php.ini) Path C:\Windows
    Loaded Configuration File C:\xampp\php\php.ini
    Scan this dir for additional .ini files (none)
    Additional .ini files parsed (none)
    PHP API 20100412
    PHP Extension 20100525
    Zend Extension 220100525
    Zend Extension Build API220100525,TS,VC9
    PHP Extension Build API20100525,TS,VC9
    Debug Build no
    Thread Safety enabled
    Zend Signal Handling disabled
    Zend Memory Manager enabled
    Zend Multibyte Support provided by mbstring
    IPv6 Support enabled
    DTrace Support disabled
    Registered PHP Streams php, file, glob, data, http, ftp, zip, compress.zlib, compress.bzip2, phar
    Registered Stream Socket Transports tcp, udp
    Registered Stream Filters convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, zlib.*, bzip2.*

     

    This program makes use of the Zend Scripting Language Engine:
    Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
    with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd.

     

     

    #35682

    zmirli
    Participant

    The main issue is that when entering zend extension in php.ini , it is to remember that type it on the first line before <php> tag.

    #35684

    zmirli
    Participant

    bout upgrading to v6 here. You could at least put that in the info article about upgrading to v6. There is not a single thing about upgrading to v6 here. Don’t bother wasting your time if that’s what you’re looking for.

    see: 
    ShowBox https://showbox.onl/
    Mobdro https://mobdro.onl/
    Vidmate https://vidmate.onl/

    #35733

    Alyssa
    Participant
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.