PHP 7.2 and modules dom, mbstring, and simplexml

PHP 7.2 and modules dom, mbstring, and simplexml

Try installing the missing modules as:

sudo yum install php7.2-dom

sudo yum install php7.2-mbstring

sudo yum install php7.2-simplexml

Dont forget to restart server after installation.

This may be weird, but once you install these (below commands) depending on your version (mine is 7.3 at the time of post), the modules get enabled somehow.

apt-get install php7.3
apt-get install php7.3-common
apt-get install php7.3-cli

service apache2 restart

php -m

PHP 7.2 and modules dom, mbstring, and simplexml

Leave a Reply

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