Solution to the failed installation of php xmlwriter: 1. Modify the content "default_properties_table"; 2. Reinstall libxml2 and libxml2-devel; 3. Download the xmlwriter corresponding to the version of Php currently installed.
The operating environment of this article: Windows7 system, PHP7.1 version, Dell G3 computer
What should I do if the installation of php xmlwriter fails?
php encountered errors and solutions when installing xmlwriter
Q1: When making, it reported an error: 'zend_class_entry' has no member named 'default_properties'' ,
A: Change the default_properties in the error line C file to default_properties_table
Q2: When ./configure prompts 'configure: error: xml2-config not found. Please check your libxml2 installation'
A: Reinstall libxml2 and libxml2-devel
yum install libxml2 yum install libxml2-devel -y
Q3: A character error such as 'ZEND_....' is prompted, and the xmlwriter version is incompatible.
A: Just download the xmlwriter corresponding to the version of Php currently installed. ps: It is best to use the package installation compatibility in the current PHP installation package ext without causing problems
Recommended learning: "PHP Video Tutorial》
The above is the detailed content of What to do if the installation of php xmlwriter fails. For more information, please follow other related articles on the PHP Chinese website!