- 注册时间
- 2012-11-28
- 最后登录
- 2021-2-12
- 阅读权限
- 200
- 积分
- 3774
- 精华
- 0
- 帖子
- 116
  
ta_mind | mb_qb7 2013-3-19 01:56 |
---|
classn_01: 366 classn_02 [LV.9]以坛为家II
|
yum install epel-release //扩展包更新包
错误:No package php-mcrypt available
yum update //更新yum源
yum install libmcrypt libmcrypt-devel mcrypt mhash
就ok了?其实到这里装这个扩展没什么大用途。因为没编译成为php环境下对于phpcms就不起作用了。为了可以安装phpcms应该按照以下的方法安装这个扩展:
[root@localhost ~]# yum install php-mcrypt
记得重启apache扩展才能生效哦。
[root@localhost ~]# service httpd restart
phpinfo(); 这个扩展安装成功了。
|
|