AMH 社区首页
AMH社区 - 开放自由有价值的社区
[综合话题] php7.4与php8.0都安装不了mcrypt |
|
---|---|
ayoing |
ayoing 发表于 2021-05-01 12:17:30
php7.4与php8.0都安装不了mcrypt
checking for libmcrypt - version >= 2.5.0... no *** Could not run libmcrypt test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding LIBMCRYPT or finding the wrong *** version of LIBMCRYPT. If it is not finding LIBMCRYPT, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH *** configure: error: *** libmcrypt was not found cp: cannot stat '/usr/local/lnmpv/extcode/mcrypt': No such file or directory /root/amh/modules/mcrypt-1.0/admin-script/install_mcrypt: line 36: cd: /tmp/mcrypt: No such file or directory Cannot find config.m4. Make sure that you run '/usr/local/lnmpv/bin/phpize' in the top level source directory of the module /root/amh/modules/mcrypt-1.0/admin-script/install_mcrypt: line 38: ./configure: No such file or directory make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop. mv: cannot stat '/usr/local/lnmpv/lib/php/extensions/no-debug-non-zts-20200930/mcrypt.so': No such file or directory
点赞,加油! (0分)
2021-05-01 12:17:30 1
|
蓝浩 |
百度的:解决方法如下:运行 export LD_LIBRARY_PATH=/usr/local/lib: LD_LIBRARY_PATH
然后make ; make install 完成 或者等4号官方上班后回复
回复
2021-05-02 11:09:06 2
此用户很懒,未设置签名档! |
magento |
这个应该和AMH无关吧。
是新版的PHP不支持mcrypt 改用sodium吧 两个都是一样负责加解密的.. 很久前就有这个问题了,然后发现用sodium一样可以解密,就一直用sodium了。
回复
2021-05-03 12:09:45 3
AMH棒棒哒 |
amysql |
引用: 对的,php7.2起已经移除mcrypt了,改用sodium。
回复
2021-05-04 09:42:23 4
AMH面板 - 好用高效低占用、安全可靠极稳定 |