Centos 5 PHP 5

-- Php

Centos 5 x64 PHP 5.3 kurulumu

php53

Yum paket yönetici ise yükseltme yapabileceğiniz PHP 5.3 sürümü x64 için centos repolarında mevcut fakat yum ile yüklemeye çalıştığınızda aşağıdaki hata ile karşılaşabilirsiniz;

Error: php53-common conflicts with php-common
You could try using –skip-broken to work around the problem
You could try running: package-cleanup –problems
package-cleanup –dupes
rpm -Va –nofiles –nodigest
The program package-cleanup is found in the yum-utils package.

php-common ile 5.3 ün commun paketleri çakışıyor bunu bertaraf etmenin en hızlı yolu atomic kurup bununla php yi update etmektir.

Sunucunuzda aşağıdaki komutu çalıştırın;

wget -q -O - http://www.atomicorp.com/installers/atomic | sh

Ekrana gelen Do you agree to these terms? (yes/no) mesajına onay vermek için Enter tuşuna basın.

atomic – [ACTIVATED] – contains the stable tree of ART packages
atomic-testing – [DISABLED] – contains the testing tree of ART packages
atomic-bleeding – [DISABLED] – contains the development tree of ART packages

gibi satırlar görebilirsiniz ki buda başarıyla yüklendiği anlamına gelir bu aşamadan sonra;;

yum php update -y

komutunu çalıştırın başarıyla en üst versiyon olan sürüme (şuan PHP 5.3.22) update edecektir.

Hata almaya devam ediyorsanız eğer hatanızı bu yazının altına yorum olarak yazabilirseniz, yardımcı olamaya çalışırım.

Eğer sunucunuzda daha önce PHP kurulu değilse aşağıdaki komut ile kurulumu yapabilirsiniz;

yum install php53.x86_64 php53-cli.x86_64 php53-common.x86_64 php53-devel.x86_64 php53-gd.x86_64 php53-ldap.x86_64 php53-mbstring.x86_64 php53-mysql.x86_64 php53-process.x86_64 php53-soap.x86_64 php53-xml.x86_64 php53-xmlrpc.x86_64 -y

Yorumla

Yorum

Bu site, istenmeyenleri azaltmak için Akismet kullanıyor. Yorum verilerinizin nasıl işlendiği hakkında daha fazla bilgi edinin.