How To Install IonCube Loader On MAMP On Your Mac

//How To Install IonCube Loader On MAMP On Your Mac

How To Install IonCube Loader On MAMP On Your Mac

ioncubeMAMP (Mac, Apache, MySQL, PHP) is a package that allows you to run your own PHP-enabled web server with MySQL easily on your Mac. However, if you’re looking for additional libraries like the ionCube libraries, you’ll need to download and install them yourself. That’s not bad because it’s not hard at all.

What you need is to go to, and download the ionCube loader file for your O/S version. For example, I’m running a Macbook Pro unibody, and so I get the x86 version of the loader.

Now once the file is on your computer, extract the contents and copy the file (e.g. ) into your MAMP’s PHP5 folder. For the default installation of MAMP, it should be this path:


Now you need to edit the php.ini, which is found here: /Applications/MAMP/conf/php5/php.ini

Scroll to line number 1085, hit enter, and then add this line:


That’s all there is to it! Just stop and start the MAMP servers, and you should now have ionCube loaders up and running with PHP!

Similar Posts:

By |2010-08-02T00:26:51+00:00September 1st, 2010|Tutorials & Tips|6 Comments

About the Author:

Alvin Poh lives in Singapore, and is interested in marketing, techy stuff, and likes to just figure out how the two can work with each other. He can also be found on Google+.


  1. Victor September 14, 2010 at 10:20 pm - Reply

    Thanks for the clear instructions!

  2. Pdus September 15, 2010 at 4:46 pm - Reply

    ooo is iOncube for like PHP code protection and stuff ?? 🙂

  3. Nessensohn December 7, 2011 at 10:44 am - Reply

    I was reading your text how to install ionCube. First of all in my MAMP there is no file php5 und bin – so where to put ionCube?
    How do I find line 1085 – what is written before.

    Thanks for your help

    Best regards

  4. Alvin December 7, 2011 at 2:10 pm - Reply

    Is your version of MAMP the latest one?

  5. Pieter van Wyk June 26, 2012 at 10:08 am - Reply

    Here is the answer!!!!

    Use the older 1.9 version and 86 version of ioncube

    Also there is a fault in the code. You actually have to use this string. Notice the double //

    zend_extension = “/Applications/MAMP/bin/php5.2/lib/php/extensions/no-debug-non-zts-20060613//”

    For Mamp Pro use file, edit template to insert the code into php.ini

    Hope I saved you a day!

  6. James July 16, 2012 at 11:59 am - Reply

    Thanks… very helpful.

    As of this post, I am using MAMP 2.05 with php5.3.6 and the location for my php.ini file is:


    Line 1085 still works for me for the insertion.

Leave A Comment