PHP Fatal error: Call to undefined function utf8_encode()


PHP Fatal error: Call to undefined function utf8_encode()

This error is happening due to the absence of php-xml module and can be resolved by installing the php xml module.

Step1: Install php-xml module

We can use yum or apt according to the OS types.

Step2: Restart apache service.

Restart/reload apache web server.

 

Leave a Reply

Your email address will not be published. Required fields are marked *