问题描述
我有一个使用Codeigniter框架编写的PHP应用程序。当我尝试在Windows Machine上运行此应用程序时,出现以下错误:
I have a PHP application written using the Codeigniter framework. When I am trying to run this application on Windows Machine then I am getting below error:
这个相同的应用程序在具有相同配置的某些随机Windows计算机上也可以正常工作。我在5种不同的Windows 10计算机上尝试过,在3计算机上收到此错误,在2计算机上工作正常。在这里,我使用相同的安装程序在所有计算机上安装XAMPP,并使用相同的代码,但仍然不知道如何使它平稳运行。
我尝试了几乎所有在线可用的建议,例如对php.ini进行了更改,但到目前为止还没有运气。
This same application working fine on some random Windows Machine having the same configuration. I have tried on 5 different windows 10 machines and got this error on 3 Machine and worked fine on 2 machines. Here I have used the same installer to install XAMPP on all the machines and the same code, but still don't know how to make it run smoothly.I have tried almost all the suggestions available online like to make a change in php.ini but no luck so far.
推荐答案
(仅限CI用户)如果从CI2 XAMPP(php5)切换到XAMPP(php7),则粘贴在CI-> system-> libraries文件夹中,此后应该没问题!
(FOR CI USERS only) If you are switched from CI2 XAMPP(php5) to XAMPP(php7) then, paste encrypt.php in CI->system->libraries folder, after this it should be fine !
这篇关于加密库需要Mcrypt扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!