本文操作环境:Windows7系统、PHP7.1版,Dell G3电脑
php xmlwriter安装失败怎么办?
php安装xmlwriter遇到报错及解决方法
Q1:make的时候报' error: 'zend_class_entry' has no member named 'default_properties''错误,
A:把 错误行C文件中default_properties 改成 default_properties_table
Q2 : ./configure 时候提示 'configure: error: xml2-config not found. Please check your libxml2 installation'
A:重新安装 libxml2和libxml2-devel
yum install libxml2 yum install libxml2-devel -y
登录后复制
Q3 : 提示 'ZEND_....'之类的字符错误,xmlwriter版本不兼容,
A:下载和当前安装Php的版本对应的xmlwriter即可,ps:最好是使用当前php安装包ext中packge安装兼容性不会出问题
推荐学习:《PHP视频教程》
以上就是php xmlwriter安装失败怎么办的详细内容,更多请关注Work网其它相关文章!