MAMP (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 http://www.ioncube.com/loaders.php, 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. ioncube_loader_dar_5.2.so ) into your MAMP’s PHP5 folder. For the default installation of MAMP, it should be this path:
/Applications/MAMP/bin/php5/zend/lib/
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:
zend_extension=/Applications/MAMP/bin/php5/zend/lib/ioncube_loader_dar_5.2.so
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:
- How To Reset The MySQL Root User Password and Privileges
- How To Activate/Install GD Library In WAMP Under Windows
- How To Create And Use .htaccess Files For Apache Web Server in Microsoft Windows
- How To Remove the QuickTime Annoyance (Internet Explorer IE Firefox)
- How To Create An Anonymous or Limited Access Only Account With MySQL


September 14th, 2010 at 10:20 pm
Thanks for the clear instructions!
September 15th, 2010 at 4:46 pm
ooo is iOncube for like PHP code protection and stuff ??
December 7th, 2011 at 10:44 am
Hi,
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
December 7th, 2011 at 2:10 pm
Is your version of MAMP the latest one?