If you are using macport you may not have this installed. This can be rectified with: sudo port install php5-iconv
PHP - Manual: 需求
2024-12-22
This version uses the functions of the » Enchant library by Dom Lachowicz. You need Enchant 1.2.4 or later. Enchant 2.0.0 or later is only supported as of PHP 8.0.0.
Enchant also requires » Glib 2.6 or greater. Pre-compiled Windows libraries are available from » http://ftp.gnome.org/pub/gnome/binaries/win32/glib/.
If you are using macport you may not have this installed. This can be rectified with: sudo port install php5-iconv