Top

How to fix Ioncube error with Wordpress on 1and1 shared hosting space.

January 21, 2009 by admin · 1 Comment 

Ioncube is a source code protection script that often packaged with commercial PHP scripts.
This include many commercial wordpress plugins including my own MemberWing family of wordpress membership site solutions.
This applies to 1and1 shared hosting only:
When you'll see Ioncube error do this:

  1. Create php.ini file with the following content:
    zend_optimizer.optimization_level=15
    zend_extension=/homepages/xx/xxxxxxxxxxx/htdocs/ioncube_loader_lin_5.2.so
  2. Copy this php.ini file under root of your website and inside the plugin (or theme) that causing the problems.
  3. Copy ioncube_loader_lin_5.2.so file (freely downloadable from ioncube.com site) into root directory of your hosting space.

Please note that "5.2" in ioncube_loader_lin_5.2.so filename means "version of PHP" - so you may need to change this file as well as entry in your php.ini file accordingly.

Thanks for 1and1 support guy who was pleasingly attentive, knowledgeable and responsive to my request.

Bottom