尝试使用pecl安装任何软件包时遇到phpize Can't find PHP headers in /usr/include/php
问题。
服务器:Centos 7 Php版本:7.0.14
我也安装了php-devel。当用yum search php-devel
终端显示如下搜索php-devel时显示如下:
php-devel.x86_64 : Files needed for building PHP extensions
php54-php-devel.x86_64 : Files needed for building PHP extensions
php55-php-devel.x86_64 : Files needed for building PHP extensions
php56-php-devel.x86_64 : Files needed for building PHP extensions
php70-php-devel.x86_64 : Files needed for building PHP extensions
php71-php-devel.x86_64 : Files needed for building PHP extensions
那我怎么能解决这个问题呢?
感谢。
答案 0 :(得分:0)
你需要为php 7.1安装php71w-devel