I have php 7.0 running on my ubuntu server.
php -m command says:
[PHP Modules] calendar Core ctype curl date dom exif fileinfo filter ftp gd gettext hash iconv intl json libxml mbstring mcrypt mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql Phar posix readline Reflection session shmop SimpleXML sockets SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter xsl Zend OPcache zip zlib
But still when I run my website, its log says "PHP Fatal error: Call to undefined function simplexml_load_file()"
phpinfo()
on a web page, or check your hosting configuration, to figure out what modules are loaded in that environment. – IMSoP