2011-12-17 10 views
2

PECLパッケージをインストールしようとしていますが、このエラーが発生しました。私はそれについて何をすべきかわからないよ、そう期待していた誰かがいくつかの助けを提供することができる場合がありますphp-をインストールし、PECLとPHPビルドディレクトリ

# pecl install -f ssh2 
WARNING: failed to download pecl.php.net/ssh2 within preferred state "stable", will instead download version 0.11.3, stability "beta" 
downloading ssh2-0.11.3.tgz ... 
Starting to download ssh2-0.11.3.tgz (23,062 bytes) 
........done: 23,062 bytes 
5 source files, building 
running: phpize 
Cannot find build files at '/usr/lib64/php/build'. Please check your PHP installation. 

ERROR: `phpize' failed 
+0

run(root):yum install php-devel – vdbuilder

答えて

9

は(RedHatのベース)FedoraのPECL、梨、またはは、phpizeコマンドを使用するにはdevelパッケージ:

$ yum install php-devel 
関連する問題