Install ionCube
This example uses PHP 5.6.31. Please be aware if you are installing ionCube for a different PHP version you will need to use a different ionCube file versio and install to the corresponding PHP version directory.
- Download the Windows VC11 (32 bits) tar.gz version of ionCube.
- Unpack ioncube_loaders_win_vc11_x86.tar.gz. In your resulting
ioncube
directory there will be several files. Copy only the ioncube_loaders_win_5.6.dll file toC:\MAMP\bin\php\php5.6.31\ext
. The ioncube_loaders_win_5.6.dll is good for all PHP 5.6.x versions. - Add the following line to your PHP 5.6.31 template file. You can reach your template files in MAMP PRO through the menu bar, File > Edit Template > PHP > 5.6.31.
- Restart your servers in MAMP PRO.
- To verify ionCube is loaded use your php.ini file. You should see the following in your php.ini file.