I followed the instructions in this post but can't get the ioncube loader to work. I hoping someone can help.

I get this message when installing a cloned website on my localhost using the Duplicator plugin for WordPress.
"Site error: the file /Applications/MAMP/htdocs/ReelAfricanSafari/wp-content/themes/pbtheme/functions.php requires the ionCube PHP Loader ioncube_loader_dar_5.3.so to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation."

I downloaded ioncube_loader_dar_x86-64.zip and copied the expanded folder to /Applications/MAMP/bin/php5.3/lib/php/extensions/ioncube/
I then inserted the line below at line 1085 and when that didn't work I tried inserting it just after the opening [PHP]:
zend_extension="/Applications/MAMP/bin/php5.3/lib/php/extensions/ioncube/ioncube_loader_dar_5.3.so"

Below is the first line in the functions.php file that requires ioncube to be installed. I include it incase there is a way to disable this requirement and solve the problem of trying to get the ioncube loader to work.

if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Site error: the file '.__FILE__.' requires the ionCube PHP Loader '.basename($__ln).' to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.');exit(199);

The content of this field is kept private and will not be shown publicly.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.