简体   繁体   English

无法加载ionCube PHP加载程序-它是使用配置2.2.0构建的

[英]Cannot load the ionCube PHP Loader - it was built with configuration 2.2.0

I have setup corn file in WordPress but "Cannot load the ionCube PHP Loader - it was built with configuration 2.2.0, whereas running engine is API220100525,NTS Zend Optimizer requires Zend Engine API version 220060519." 我已经在WordPress中设置了玉米文件,但“无法加载ionCube PHP加载器-它是使用配置2.2.0构建的,而运行引擎是API220100525,NTS Zend Optimizer需要Zend Engine API版本220060519。” this error is coming. 这个错误来了。

This is my Cron file code. 这是我的Cron文件代码。

#!/usr/bin/php -q
<?php
    ob_clean();
    date_default_timezone_set('America/Chicago');
    include("../../../wp-config.php");
    error_reporting(0);
    /*
    * snad mail befor 5 day expire post
    */
    $properties = PL()->properties->get_properties(array(
        'status'=> 'publish',
        'before' => PL()->settings->renew_day - 5
    ));

    foreach($properties as $property)   {
        $is_warning_sent = get_post_meta($property->ID,'expire_warning_sent',true);
        if($is_warning_sent != 'true'){
            PL()->properties->send_expire_warning($property->ID);
            echo "Post Exipred warning - ".$property->ID." \n\n";
        }

    }
    /*
    * expire post
    */
    $properties = PL()->properties->get_properties(array(
        'status'=> 'publish',
        'before' =>PL()->settings->renew_day
    ));
    foreach($properties as $property)   {
        PL()->properties->set_post_expire($property->ID);
    }
?>

Out put On Testing mail is 输出测试邮件是

Cron /home1/webpixel/public_html/millyclub/wp-content/plugins/property-listing/cron.php Inbox x Cron Daemon Cron /home1/webpixel/public_html/millyclub/wp-content/plugins/property-listing/cron.php收件箱x Cron守护程序

11:30 AM (28 minutes ago) 11:30 AM(28分钟前)

to me Cannot load the ionCube PHP Loader - it was built with configuration 2.2.0, whereas running engine is API220100525,NTS Zend Optimizer requires Zend Engine API version 220060519. The Zend Engine API version 220100525 which is installed, is newer. 对我来说,无法加载ionCube PHP加载程序-它是使用配置2.2.0构建的,而正在运行的引擎是API220100525,NTS Zend Optimizer需要Zend Engine API版本220060519。已安装的Zend Engine API版本220100525是较新的。 Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Optimizer. 请通过http://www.zend.com/与Zend Technologies联系,以获取更高版本的Zend Optimizer。


Warning : PHP Startup: It is not safe to rely on the system's timezone settings. 警告 :PHP启动:依靠系统的时区设置并不安全。 You are required to use the date.timezone setting or the date_default_timezone_set() function. 需要使用date.timezone设置或date_default_timezone_set()函数。 In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. 如果您使用了这些方法中的任何一种,并且仍然收到此警告,则很可能您拼写了时区标识符。 We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. 我们暂时选择了时区“ UTC”,但请设置date.timezone以选择您的时区。 in Unknown on line 0 在第0行的Unknown中

Fatal error : Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0 致命错误 :指令“allow_call_time_pass_reference”不再可用在PHP中未知在线0

Click here to Reply or Forward 45 deleted messages in this conversation. 单击此处以回复或转发此对话中的45条已删除消息。 View messages or delete forever. 查看消息或永久删除。 0.03 GB (0%) of 15 GB used Manage Terms - Privacy Last account activity: 4 minutes ago Details 已使用15 GB的0.03 GB(0%)管理条款-隐私最近一次帐户活动:4分钟前详细信息

The ionCube Loader has to match the exact same PHP version that your server is running. ionCube Loader必须与服务器运行的PHP版本完全相同。 In your case, API220100525,NTS should refer to PHP 5.4 Non-thread-safe, whereas you currently have installed the Loaders for 220060519 , which should correspond to PHP 5.3 . 在您的情况下, API220100525,NTS应该参考PHP 5.4非线程安全,而您当前已经安装了220060519的装载220060519 ,应该对应于PHP 5.3。

You should be able to fix the issue by upgrading your ionCube Loader: 您应该可以通过升级ionCube Loader来解决此问题:

  1. Download the newest Loader for your server ( Loader overview ). 为您的服务器下载最新的Loader( Loader概述 )。

  2. Delete your old Loader files. 删除旧的Loader文件。 This includes removing the zend_extension = <ioncube_loader_path> entry from your php.ini , or from the custom xxionCube.ini file in your PHP configuration folder, depending on your installation. 这包括从php.ini或从PHP配置文件夹中的自定义xxionCube.ini文件中删除zend_extension = <ioncube_loader_path>项,具体取决于您的安装。

  3. Unpack the new Loader(s) to a PHP readable directory. 将新的Loader解压缩到PHP可读目录中。

  4. Add or update the relevant zend_extension entry to point to your new Loader in your php.ini . 添加或更新相关的zend_extension条目,以指向php.ini新Loader。 Make sure that you are matching the exact PHP version. 确保您与确切的PHP版本匹配。

For installation, you might also want to look at this answer I wrote up a few weeks back. 对于安装,您可能还想看看我几周前写的答案

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM