Problems with lib-icu dependency when installing Symfony 2.3.x via Composer

后端 未结 6 556
轻奢々
轻奢々 2020-12-04 08:48

I\'ve had no problems installing Symfony 2.2.x using Composer, I\'ve always just copied the stable version at http://symfony.com/download.

composer create-pr         


        
6条回答
  •  难免孤独
    2020-12-04 09:31

    Mac OS Mavericks comes with PHP 5.4.17 without intl. To get this, you'll have to follow those steps :

    brew install icu4c
    sudo pecl install intl 
    The path to the ICU libraries and headers is: /usr/local/opt/icu4c/
    Edit /etc/php.ini and add extension=intl.so to the end.
    

提交回复
热议问题