Showing posts with label pecl. Show all posts
Showing posts with label pecl. Show all posts

Friday, August 22, 2014

Pecl errors

PECL paketleri kurulumu sırasında bazen arşiv hataları olusabiliyor.

Örnek bir durum

$ sudo pecl install mongo 
downloading mongo-1.5.5.tgz ...
Starting to download mongo-1.5.5.tgz (192,109 bytes)
.........................................done: 192,109 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/mongo-1.5.5.tgz"
Download of "pecl/mongo" succeeded, but it is not a valid package archive
Error: cannot download "pecl/mongo"
Download failed

install failed


Bu durumdan genellike --nocompress ile kurtulabilirsin. 

pecl install --nocompress mongo"

Thursday, November 3, 2011

bazen olur 'pecl.php.net is using a unsupported protocol error'

mongo pecl eklentisi kurarken aldım bu hatayı
“pecl.php.net is using a unsupported protocol” .
Aklıma ilk gelen pecl update-channels yapmak oldu ama işe yaramadı.

Fakat sonra biraz arayınca /usr/lib/php/.channels daki dosyaları silip tekrar  pecl update-channels  yapınca düzeldi.