时间:2021-07-01 10:21:17 帮助过:20人阅读
之后每次执行php命令,例如php -v 或 composer 终端都会提示:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php56/5.6.4/lib/php/extensions/no-debug-non-zts-20131226/mcrypt.so' - dlopen(/usr/local/Cellar/php56/5.6.4/lib/php/extensions/no-debug-non-zts-20131226/mcrypt.so, 9): image not found in Unknown on line 0
请问怎么修复这个问题,谢谢各位:D
在配置laravel5所需的mcrypt时,按照网上的说明步骤执行以下命令
之后每次执行php命令,例如php -v 或 composer 终端都会提示:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php56/5.6.4/lib/php/extensions/no-debug-non-zts-20131226/mcrypt.so' - dlopen(/usr/local/Cellar/php56/5.6.4/lib/php/extensions/no-debug-non-zts-20131226/mcrypt.so, 9): image not found in Unknown on line 0
请问怎么修复这个问题,谢谢各位:D
是php的mcrypt的拓展没有安装,自己下载下来,手动编译一下将就好了
请先确认一下 mcrypt 的库文件是否在 /usr/local/Cellar/php56/5.6.4/lib/php/extensions/no-debug-non-zts-20131226/ 这个目录下