PHP Fatal error: Call to undefined function utf8_decode()

This occurs on a FreeBSD server. According to this post[1], I need to install php5-xmlphp5-xml.

# whereis php5-xmlphp5-xml
php5-xml: /usr/ports/textproc/php5-xml
# portmaster textproc/php5-xml
...
# service apache22 restart

[1] http://hi.baidu.com/ericyangbj/item/8289a32771e4171d09750856

About these ads

3 thoughts on “PHP Fatal error: Call to undefined function utf8_decode()

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s