我已经尝试了一切,但我无法修复此错误.我通过下载安装
PHP,然后运行:
原文链接:https://www.f2er.com/php/135048.htmlbrew install PHP55-mcrypt
我最初用PHP 5.3安装它,然后Laravel抱怨它必须大于5.4.所以一切都搞砸了.
我在MAC 10.7上.有人能帮我吗?
PHP -v PHP Warning: PHP Startup: mcrypt: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20121212 These options need to match in Unknown on line 0 PHP 5.5.1 (cli) (built: Aug 14 2013 10:31:02) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.5.0,Copyright (c) 1998-2013 Zend Technologies