php설치시 “PEAR package PHP_Archive not installed” 오류 관련 참고

PHP 컴파일을 이용한 설치시

  • configure 과정을 에러없이 정상적으로 마치고
  • make 과정 역시 무난하게 넘어가는가 싶지만

즉,

Build complete.
Don’t forget to run ‘make test’.

이렇게 정상적으로 마무리 되었으나…

 

complete 위에 좀 찝찝하게

PEAR package PHP_Archive not installed: generated phar will require PHP’s phar extension be enabled.

이러한 메세지가 출력되는 것을 볼 수 있다.

 

출력되는 내용은 뭐 대단한 오류를 품고 있는 것은 아니고…


15:36:45 # pear list
Installed packages, channel pear.php.net:
=========================================
Package Version State
Archive_Tar 1.4.3 stable
Console_Getopt 1.4.1 stable
PEAR 1.10.5 stable
Structures_Graph 1.1.1 stable
XML_Util 1.4.2 stable

15:51:01 # pear install PHP_Archive
Failed to download pear/PHP_Archive within preferred state "stable", latest release is version 0.12.0, stability "alpha", use "channel://pear.php.net/PHP_Archive-0.12.0" to install
install failed

15:51:21 # pear install PHP_Archive-0.12.0
WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update
downloading PHP_Archive-0.12.0.tgz ...
Starting to download PHP_Archive-0.12.0.tgz (86,179 bytes)
.....................done: 86,179 bytes
install ok: channel://pear.php.net/PHP_Archive-0.12.0

15:51:39 # pear list
Installed packages, channel pear.php.net:
=========================================
Package Version State
Archive_Tar 1.4.3 stable
Console_Getopt 1.4.1 stable
PEAR 1.10.5 stable
PHP_Archive 0.12.0 alpha
Structures_Graph 1.1.1 stable
XML_Util 1.4.2 stable

그냥 “pear install PHP_Archive” 명령을 사용하면
위에 나온것 과 같이 버전관련 안내가 나오면서 “install failed” 가 발생함

알려주는대로 버전을 제대로 붙여서 설치를 해주면 됨

 

About KENNETH 11028 Articles
지락문화예술공작단

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.