How to fix error with xml2-config not found when installing PHP from sources?

前端 未结 6 833
青春惊慌失措
青春惊慌失措 2021-01-30 04:43

When I try to install php 5.3 stable from source on Ubuntu (downloading compressed installation file from http://www.php.net/downloads.php) and I run ./configure I

6条回答
  •  面向向阳花
    2021-01-30 05:14

    All you need to do instal install package libxml2-dev for example:

    sudo apt-get install libxml2-dev
    

    On CentOS/RHEL:

    sudo yum install libxml2-devel
    

提交回复
热议问题