无法加载/usr/local/IonCube/ioncube_loader_lin_5.3.so [英] Failed loading /usr/local/IonCube/ioncube_loader_lin_5.3.so

查看:578
本文介绍了无法加载/usr/local/IonCube/ioncube_loader_lin_5.3.so的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是使用cPanel导入工具将一个网站从一台服务器克隆到另一台服务器(可能这与后一部分无关)

I just cloned a website from one server to another using cPanel import tool (probably this last part is not relevant)

该站点是Magento CE商店.

The site is a Magento CE store.

新服务器是共享服务器,只有在这个新的Magento网站中,我才出现500错误:

The new server is a shared one, and only in this new Magento website I am having a 500 error:

tail /usr/local/apache/logs/error_log
Failed loading /usr/local/IonCube/ioncube_loader_lin_5.3.so:  /usr/local/IonCube/ioncube_loader_lin_5.3.so: cannot open shared object file: No such file or directory

php -i|grep php.ini
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini

cat /usr/local/lib/php.ini|grep IonCube
zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.4.so"

php -v
PHP 5.4.25 (cli) (built: Mar  4 2014 15:41:00)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies 
with the ionCube PHP Loader v4.4.1, Copyright (c) 2002-2013, by ionCube Ltd.

在我看来,这非常令人困惑...抛出500错误,因为即使php.ini具有5.4版本并且存在相应的文件,它也无法加载ioncube 5.3,但更令人困惑的是php- v显示版本4.4 ...

So it looks to me very confusing... the 500 error is thrown because it is failing to load ioncube 5.3 even when the php.ini has the 5.4 version and the correspondent file exists, but even more confusing is that php -v shows version 4.4 ...

有帮助吗?

谢谢.

推荐答案

您从中迁移的系统使用了不同版本的PHP,并且使用了错误的配置文件.

The system you migrated from uses a different version of PHP and you are using the wrong configuration file.

加载phpinfo并查找已加载的配置文件"

load up phpinfo and look for "Loaded Configuration File"

更新您的设置以使用phpinfo提及的配置文件.

update your settings to use the config file mentioned by phpinfo.

我与magento的cron作业有关,这给了我同样的错误.
在我的情况下,PHP 5.6> PHP 7

I had a related issue with cron jobs for magento which gave me the same errors.
In my case PHP 5.6 > PHP 7

所有文件都存在,但是上面提到的内容向我显示了错误的根源.

All the files were present, but what a mentioned above showed me the root of the error.

旧命令+

/usr/local/bin/php -c/usr/local/lib/php.ini /home/devlivingfresh/public_html/bin/magento cron:run | grep -v"Ran 按计划的工作" >> /home/devlivingfresh/public_html/var/log/magento.cron.log

/usr/local/bin/php -c /usr/local/lib/php.ini /home/devlivingfresh/public_html/bin/magento cron:run | grep -v "Ran jobs by schedule" >> /home/devlivingfresh/public_html/var/log/magento.cron.log

新命令

/usr/local/bin/php -c/opt/cpanel/ea-php70/root/etc/php.ini /home/devlivingfresh/public_html/bin/magento cron:run | grep -v"Ran 按计划的工作" >> /home/devlivingfresh/public_html/var/log/magento.cron.log

/usr/local/bin/php -c /opt/cpanel/ea-php70/root/etc/php.ini /home/devlivingfresh/public_html/bin/magento cron:run | grep -v "Ran jobs by schedule" >> /home/devlivingfresh/public_html/var/log/magento.cron.log

这篇关于无法加载/usr/local/IonCube/ioncube_loader_lin_5.3.so的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆