Home > Backend Development > PHP Problem > What to do if the installation of php xmlwriter fails

What to do if the installation of php xmlwriter fails

藏色散人
Release: 2023-03-12 17:28:01
Original
1917 people have browsed it

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.

What to do if the installation of php xmlwriter fails

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
Copy after login

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!

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template