VPS侦探论坛

 找回密码
 注册
查看: 8076|回复: 9

php7 怎么安装mcrypt模块

[复制链接]
发表于 2016-7-8 18:00:04 | 显示全部楼层 |阅读模式

php7 怎么安装mcrypt模块?如题
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-7-8 20:29:30 | 显示全部楼层
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2016-7-12 17:48:57 | 显示全部楼层

已编译成功,也在php.ini上加了extension=mcrypt.so,lnmp restart后还是一个红叉叉……
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-7-12 18:41:17 | 显示全部楼层



mcrypt本来就默认带的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2016-7-13 09:05:37 | 显示全部楼层

update: 你说的探针上的这个问题在php7 下是因为那个函数被 移除造成的,其实是支持的

军哥运维代购:http://shop63846532.taobao.com/

发表于 2016-7-13 10:52:13 | 显示全部楼层

原帖由 licess 于 2016-7-13 09:05 发表
update: 你说的探针上的这个问题在php7 下是因为那个函数被 移除造成的,其实是支持的
是不是就好像apc一样,新版本php用了apcu,在探针上apc还是红叉叉,但实际上apcu已在工作?
 楼主| 发表于 2016-7-13 16:13:32 | 显示全部楼层

PHP Warning:  PHP Startup: mcrypt: Unable to initialize module
Module compiled with build ID=API20151012,NTS
PHP    compiled with build ID=API20151012,NTS,debug
These options need to match
in Unknown on line 0



Warning: PHP Startup: mcrypt: Unable to initialize module
Module compiled with build ID=API20151012,NTS
PHP    compiled with build ID=API20151012,NTS,debug
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-7-13 16:13:52 | 显示全部楼层

装了后,好像版本不一样
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2016-7-13 18:24:53 | 显示全部楼层

回复 6# 的帖子


apc与apcu不一样肯定不会显示,php -m才是最准确的

军哥运维代购:http://shop63846532.taobao.com/

发表于 2016-7-14 16:45:57 | 显示全部楼层

回复 9# 的帖子




嗯,就是不一样,探针才认为apc没有咯。php -m一看,确认是想装的都装了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-29 07:16 , Processed in 0.028444 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表