Partage
  • Partager sur Facebook
  • Partager sur Twitter

Intl extension is missing ( downloading FOSUSER Bu

Sujet résolu
    18 octobre 2014 à 13:57:17



    I m trying to download the FOSUSERBundle , when I execute this cmd :

    php composer.phar require friendsofsymfony/user-bundle '~2.0@dev'

    it gaves me this error :

    - symfony/icu v1.2.2 requires ext-intl *-> the requested PHP extension intl is missing from your system.- symfony/icu v1.2.2 requires lib-icu >=4.4-> the requested linked library icu has the wrong version installed oris missing from your system, make sure to have the extension providing it.-Installation request for symfony/icu ==1.2.2.0-> satisfiable by symfony/icu[v1.2.2].

    Trying to solve this problem :

    1 - I edited /etc/php.ini by uncommenting this line : extension=php_intl.dll 2- I downloaded the last stable version of php curl -s http://php-osx.liip.ch/install.sh | bash -s 5.6 the problem still here ,and when I execute php -i the first line is :

    PHP Warning: PHP Startup:Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20100525/php_intl.dll'- dlopen(/usr/lib/php/extensions/no-debug-non-zts-20100525/php_intl.dll,9): image not found inUnknown on line 0 phpinfo()

    Is there any thing that I can do to solve this problem ? or to downoald FOSUSERBundle Syfony without this ?

    -
    Edité par asoumafarah 18 octobre 2014 à 13:57:48

    • Partager sur Facebook
    • Partager sur Twitter
      19 octobre 2014 à 13:18:16

      Edit : 

      Hi,

      Sorry for the temporary closure of your message, but our team was not prepared to receive so fast the first post of a native speaker. 

      The mixture of languages is to avoid in our forum, it was better to close your message. 

      We finally decided to temporarily open a section for english speakers, your message is reopened and moved to the appropriate section. 

      Have a nice day.

      -
      Edité par J-Edward 20 octobre 2014 à 16:50:29

      • Partager sur Facebook
      • Partager sur Twitter
        29 octobre 2014 à 11:41:43

        I edited /etc/php.ini by uncommenting this line : extension=php_intl.dll 2- I downloaded the last stable version of php curl -s http://php-osx.liip.ch/install.sh | bash -s 5.6 the problem still here ,and when I execute php -i the first line is :

        My first question is "are you on windows or linux/unix? Because *.sh files are likely to be executed on linux system whereas *.dll files are microsoft shared library files (equivalent to *.so on unix system).

        • Partager sur Facebook
        • Partager sur Twitter

        Intl extension is missing ( downloading FOSUSER Bu

        × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
        × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
        • Editeur
        • Markdown