2017-06-10 59 views
0

peclでパッケージをインストールしようとすると、phpize Can't find PHP headers in /usr/include/phpに問題が発生します。phpize/usr/include/phpにPHPヘッダが見つからない

サーバー:CentOSに7 PHPのバージョン:7.0.14

私はPHP-devel.Whenは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

この問題を解決しましたか?私も同じ問題に直面しています:( – Sadee

答えて

0

php71w-develをPHP 7.1用にインストールする必要があります

+0

最初にこれを見てください:[answering](https://stackoverflow.com/help/answering)と[how-to-answer](https://stackoverflow.com/help/ハウツー・トゥ・アンサー) –

関連する問題