Installing ionCube

This example uses PHP 5.6.31. Please note that if you are installing ionCube for a different PHP version, you will need to use a different ionCube file version and install to the appropriate PHP version directory.

  1. Download the Windows VC11 (32 bits) tar.gz version of ionCube.
  2. Extract ioncube_loaders_win_vc11_x86.tar.gz. In the resulting directory “ioncube” you will find several files. Copy only the file ioncube_loaders_win_5.6.dll to “C:\MAMP\bin\php\php5.6.31\ext”. The ioncube_loaders_win_5.6.dll is good for all PHP 5.6.x versions.
  3. Add the following line to your PHP 5.6.31 template file. You can access your template files in MAMP PRO through the menu bar, File > Edit Template > PHP > 5.6.31.
  4. Reboot your servers in MAMP PRO.
  5. To verify that ionCube is loaded, use your php.ini file. You should see the following in your php.ini file MAMP