XML Extension not found
问题 I have centos 6.5 server and when I try to install php extension using pecl I get the following error: XML Extension not found All the documentations say that this extension is included by default... Why this error still exists? 回答1: According to a comment on php.net Certain Linux distributions do not have this extension included in the minimum PHP package. It can usually be found in one of the "optional" php-* packages. For CentOS, you will need to run yum install php-xml , which provides