Getting the ionCube PHP Loader up and running with DesktopServer on Mac OS X 10.10
Yesterday I was testing a new functionality for a client site which called for the WP Ultimate CSV Importer plugin. I had used the plugin before, but recently I switched from MAMP to DesktopServer for my local WordPress environment.
Upon activating the plugin, I got this error:
Plugin could not be activated because it triggered a fatal error.
Site error: the file /Users/removed/Documents/Websites/removed.dev/wp-content/plugins/wp-ultimate-csv-importer-pro/includes/smackLogging.php requires the ionCube PHP Loader ioncube_loader_dar_5.5.so to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.
A quick Google search landed me on an article by a guy named Morgan Estes, which helped me get to a point, but ultimately a couple of things came up short after following his explanation. He's already written a pretty good step-by-step on this so I won't be redundant here. However, as you go check out his post keep these two things in mind:
Be sure you download the correct loaders. If you're on OS X, the link is near the bottom of the table on the ionCube download page.
The loader-wizard.php file that you need in order to get everything setup is actually included in the loaders zip you download. Note that you do not need the Uploader.
Be sure to compare your paths in all the path examples Morgan gives in his post. Mine were different.
Lastly, when editing your php.ini file, be sure that ionCube is the first zend extension called in the file. It will fail to load if it's not.