2012-03-27 8 views
0

PHP가 전자 메일 첨부 파일에 액세스하는 데 클래스를 사용해야하므로 Im은 Mail_Mbox-0.6.3 패키지를 설치하려고합니다.PEAR2 - Mbox가 올바르게 설치되지 않음

그러나 newpackage 관리자를 사용하여 설치하려고하면 오류가 발생합니다.

php pyrus.phar install pear/Mail_Mbox-0.6.3 

는 다음

Using PEAR installation found at pear2 
Downloading pear.php.net/Mail_Mbox 

Connected... 

PEAR2\Pyrus\Package\Exception: Invalid abstract package pear.php.net/Mail_Mbox 
PEAR2\Pyrus\HTTPException: Download of http://pear.php.net/get/Mail_Mbox-0.6.3.phar failed, file does not exist 
PEAR2\Pyrus\Package\Exception: Could not download from "http://pear.php.net/get/Mail_Mbox-0.6.3.tgz" 
PEAR2\Pyrus\Package\Exception: Unable to save package Mail_Mbox-0.6.3.tgz to downloads directory, pear2/downloads. Do we have permission to write there? 

어떤 아이디어를 반환? 나를 위해

답변

0

작품 :

$ php pyrus.phar install pear/mail_mbox-alpha 
Pyrus version 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52 
Using PEAR installation found at /home/christian.weiske/php/phpfarm/inst/php-5.3.3/pear 
Downloading pear.php.net/Mail_Mbox 
Mime-type: application/octet-stream 
Installed pear.php.net/Mail_Mbox-0.6.3