I think rebuild php is the easiest way.
Otherwise, you need to find a iconv dynamic library matching the php version used, then load the extension from php.ini. You can checkout Zend Platform package, there are many prebuilt loadable extensions if you want, but to me, it is easier just rebuild PHP by yourself.