mac php 执行命令出现PHP Warning
在配置laravel5所需的mcrypt时,按照网上的说明步骤执行以下命令
- tar zxvf php5.6.4
- cd php5.6.4/ext/mcrypt/
- ./configure
- phpize
- make
- make install
之后每次执行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
迈克尔杰克逊
9 years, 8 months ago