У меня есть приведенный ниже сценарий, закодированный в ioncube4, который не работает на ioncube 5.5.19 и получает ошибку ниже.
Неустранимая ошибка: файл /home3/teaonclick/public_html/hahi.in/wp-content/themes/FlatZon/includes/pixr-amazon.php был закодирован с помощью ionCube Encoder для PHP 4 и не может работать под PHP 5.5. Попросите поставщика сценария предоставить версию, закодированную с помощью ionCube Encoder, для PHP 5.3, PHP 5.4 или PHP 5.5. в Неизвестном в строке 0
Как обновить скрипт для работы с ioncube 5.5.19? Мой сайт работает в совместно используемом провайдере размещенных услуг в ОС Linux
Версия PHP 5.5.19 MySQL версия 5.5.35-cll
содержимое файла, в котором отображается проблема, показано ниже.
<?php //0046b
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 <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the website operator. If you are the website operator please use the <a href="http://www.ioncube.com/lw/">ionCube Loader Wizard</a> to assist with installation.');
exit(199);
?>
HR+cPys/ztCE+Cj4mwPYK311udCFJfWF/McNVEDiA5pwzY1QSOjWWm4Rn1HE0AjyMFyv4qsiACbP
так далее..