我想在我的Mac 10.6/PHP 5.4.14安裝Laravel4。我似乎正在走下一個兔子洞。安裝Laravel4 - 說我需要這個Mcrypt,但我剛安裝了它
「作曲家安裝」荷蘭國際集團Laravel4 ..命令行後發現,我需要這個Mcrypt PHP擴展。所以我試圖安裝,我被告知我必須安裝Mhash。所以我安裝Mhash ..然後回去和安裝這個Mcrypt
extension = mcrypt.so
Libraries have been installed in:
/Users/****/downloads/php-5.4.14/ext/mcrypt/modules
然後我又回到安裝Laravel 4,現在我展示這個
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php/extensions/no-debug-non-zts-20100525/intl.so' - dlopen(/opt/local/lib/php/extensions/no-debug-non-zts-20100525/intl.so, 9): image not found in Unknown on line 0
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating autoload files
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php/extensions/no-debug-non-zts-20100525/intl.so' - dlopen(/opt/local/lib/php/extensions/no-debug-non-zts-20100525/intl.so, 9): image not found in Unknown on line 0
Laravel requires the Mcrypt PHP extension.
..我想我已經採取關心那intl.so問題..但似乎我安裝了一箇舊版本?
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
Laravel requires the Mcrypt PHP extension.
那麼有人可能會給我一點點的看法,並指出我在正確的方向嗎?我對編譯PHP有些模糊。
我用這個安裝mcrypt的,你可能已經看到了,但如果沒有... http://www.coolestguyplanettech.com/how-to-install-mcrypt-for-php-on-mac-osx -lion-10-7-development-server/ – Brad