[英]Amazon EC2 instance doesn't run codeigniter application after installing php gd library
I'm migrating a codeigniter application to amazon. 我正在将Codeigniter应用程序迁移到亚马逊。 I noticed that the captcha is not displaying and after search I found out that php gd library must be installed.
我注意到验证码没有显示,搜索后发现必须安装php gd库。 The instance runs php 5.5.38 so I installed it this way
该实例运行php 5.5.38,因此我以这种方式安装了该实例
sudo yum install php55-gd
I've checked like this 我已经检查过了
if(extension_loaded('gd')){
echo 'yes';
}
else{
echo 'no';
}
and the result is 'yes' 结果是“是”
using phpinfo() I found that it has been installed but the codeigniter application stopped working and the page doesn't display anything, it just keeps loading until I get max execution time error. 使用phpinfo()我发现它已经安装,但是codeigniter应用程序停止工作,并且该页面未显示任何内容,它一直保持加载状态,直到出现最大执行时间错误。
Any ideas? 有任何想法吗? Thanks in advance.
提前致谢。
我发现“ random_int”功能无法正常工作,因此必须编辑助手以创建随机字符
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.