【发布时间】:2017-11-02 06:15:28
【问题描述】:
我正在使用
PHP 版本 5.5.12
和
ioncube_loader_win_5.5.dll 或 ioncube_loader_win_5.6.dll
这在我的窗口系统上不起作用我正在使用与每个相同的步骤
http://docs.gurock.com/testrail-admin/howto-installing-ioncube
当我在本地系统中检查时,它会显示
C:\Users\abc>php -v
PHP 5.5.12 (cli) (built: Apr 30 2014 11:20:58)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with the ionCube PHP Loader v10.0.3, Copyright (c) 2002-2017, by ionCube Ltd.
with Xdebug v2.2.5, Copyright (c) 2002-2014, by Derick Rethans
它很好,但它不适用于我的应用程序。
当我检查时
print_r(get_loaded_extensions());
然后它在数组 [56] => ionCube Loader 中显示正确的值
错误:文件 C:\wamp\www\abc\application\bootstrap.php 已损坏。
和
Fatal error: <br>The file <b>C:\wamp\www\abc\application\bootstrap.php</b> was encoded with the PHP 5.6 ionCube Encoder and requires PHP 5.6 to be installed. in Unknown on line 0
所以请提供确切的解决方案
【问题讨论】:
-
你试过清除缓存吗?
php app/console cache:clear -
你使用 Symfony 的哪个框架?
-
@MittulAtTechnoBrave 我们正在使用 Kohana,谢谢
-
网站在实时服务上运行良好,它唯一给我的本地系统带来了问题。
-
您是否真正阅读并考虑过错误消息? ... 需要安装 PHP 5.6