产品服务AMH 免费服务器主机面板SSL证书 免费SSL证书申请 担保单 免费安全、零费率交易平台编程助手免费智能写代码、翻译AMYSQL 免费MySQL管理工具

AMH 社区首页

 AMH社区 - 开放自由有价值的社区

[综合话题] php7.3 安装mcrypt 出现如下有问题(默认的php5.6已经安装mcrypt成功)

surfin
铁牌会员
7.00 价值分

surfin 发表于 2021-07-17 11:18:24
*** 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/php-7.3/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/php-7.3/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/php-7.3/lib/php/extensions/no-debug-non-zts-20180731/mcrypt.so': No such file or directory
2021-07-17 11:18:24 1

amysql
创始人
16530.81 价值分

php7.2起已经不再对mcrypt支持。
https://amh.sh/bbs/post-10957-1-1.htm#61373
  支持 (3.51分)  反对 (0分)
回复  2021-07-17 17:34:59 2

AMH面板 - 好用高效低占用、安全可靠极稳定

 1  (总1页)
AMH社区列表
用户服务中心