Skip to content

php composer - "requires ext-iconv * -> the requested PHP extension iconv is missing from your system."

It took me some minutes to figure this out. First I checked my "php.ini" in "/etc/php". Then, I checked it multiple times and the error is not gone. Afterwards, a browsing on the web pointed me the glowing path in the dark ;-).
First you have to know is the fact, that composer is having its own "php.ini". It is stored in "/usr/share/php-composer/php.ini". All you have to do is to add "extension=iconv.so" in the "[PHP]" section and thats it. Happy composing :-)