I have a problem identical to this , but the solution provided there does not work for me.
I downloaded Symfony 2.4.1 Standard Vendors with Vendors package from the Symfony download page . After extracting the files and loading composer.phar, I run php composer.phar installand get this error:
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- symfony/icu v1.2.0 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it.
- symfony/icu v1.2.0 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it.
- Installation request for symfony/icu v1.2.0 -> satisfiable by symfony/icu[v1.2.0].
Following the instructions in the thread associated with the above, I updated the PEAR libraries and did sudo pear install pecl/intl. (This is on CentOS, so I did not follow the MAMP stuff). This did not work, and I realized what I had to do sudo yum install libicu. After that it sudo pear install pecl/intlworked, and I edited php.inito add a line extension=intl.so, and then restarted the Apache server.
But I still get the same error as above, and also, at any time when I run PHP, it gives a warning:
PHP Warning: Module 'intl' already loaded in Unknown on line 0
Looking at the output phpinfo(), I see that the installed intl version is 1.1.0 and the ICU version 4.2.1(which explains why Symfony complains that it needs 4.4). But when I do /usr/bin/pecl install intl, he says
pecl/intl is already installed and is the same as the released version 3.0.0
And I sudo yum install libicuhad to install the latest version.
Is there any way to get version 4.4?