php-develのインストールには助けが必要です(eAcceleratorのインストールに必要なphpizeが必要です)。しかし、私はyum install php-devel
でのphp-develのをインストールしようとすると、それは私に次のエラーを与える:centosにphp-develをインストールできない
# yum install php-devel
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centos.itt-consulting.com
* epel: mirror.yandex.ru
* extras: centos.itt-consulting.com
* passenger: mirror.hmdc.harvard.edu
* updates: centos.itt-consulting.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-devel.x86_64 0:5.3.3-14.el6_3 will be installed
--> Processing Dependency: php = 5.3.3-14.el6_3 for package: php-devel-5.3.3-14.el6_3.x86_64
--> Finished Dependency Resolution
Error: Package: php-devel-5.3.3-14.el6_3.x86_64 (updates)
Requires: php = 5.3.3-14.el6_3
Installed: php-5.4.6-1.el6.remi.x86_64 (@remi-test)
php = 5.4.6-1.el6.remi
Available: php-5.3.3-3.el6_2.8.x86_64 (base)
php = 5.3.3-3.el6_2.8
Available: php-5.3.3-14.el6_3.x86_64 (updates)
php = 5.3.3-14.el6_3
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
私は、これらのエラーをどうするか見当がつかない。そしてphpinfo()にはphpinfo()と書かれているので、このリストで私が見ることができる理由を理解できません。Installed: php-5.4...
この回答を見つけるまで数ヶ月かかりました。 Amazon AWSでPHP 5.4.26を使用しているCentOS6.5 x64に関する多くの問題がありました。これで解決しました。 – tatorface
PHP 5.5.16を使用している場合 - yum --enablerepo = remi、remi-php55をインストールphp-devel –
Thanks Taylor Taff、@ user1981251と@Valentin Ursuleac。 ** PHP 5.5で** CentOS 6.3に** php-develをインストールする際に問題が発生しました**。したがって、紛争を起こしていた。ここでそれを読んだ後、私は注意深く見て、 'yum install php-devel'でphp-devel 5.3がインストールされていることに気付きました。最初に私は 'yum search php53' - Nothing Returnedを検索しました。それから私は 'yum search php55'を探しました - 巨大なリストを得ました。それらのうちの1つは** php55w-devel-5.5.25-1.w6.x86_64 **でした。したがって、私は 'yum install php55w-devel.x86_64'というコマンドを発行しました。正常にインストールされました。みんな、ありがとう –