paolo paolo - 1 year ago 104
PHP Question

utf8_(en|de)code removed from php7?

I recently switched to PHP 7 on my development server, which has worked just fine - until now.

Since I updated to

(earlier today), the
functions are not longer accessible. They were, however, in previous versions of PHP7. When called, a fatal error is raised.

I read that these functions are provided by the
extension, which I checked with
is loaded.

How can I get above functions work again?

Answer Source

I had the same problem. Just install php7.0-xml package. Ubuntu 16.04:

sudo apt-get install php7.0-xml

Edit: Restart apache2 to load the new package.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download