php - XML Extension not found -


I have Sentence 6.5 server and when I set up the php extension by using pecl If I try, I get the following error:

  XML extension is not found  

All documents say that this extension is included by default. Why is this error still present?

According to

In some Linux distributions this extension is included in the minimum There is no PHP package it can usually be found in one of the "optional" php- * packages

For CentOS, you need to run the yum install php-xml This extension, which provides this extension.

then try to install it

  yum install php-xml  

your php .ini Also check that the extension is not commented on a ; It should be listed with:

  extension = dom.so  

Absolutely to ensure whether or not a module enabled you should use the phpinfo ()


Comments