"CentOS php-pear 설치"의 두 판 사이의 차이

(새 문서: ;pecl 설치 ;pecl: command not found ==문제상황== <source lang='dos'> [root@jmnote ~]# pecl download oci8 -bash: pecl: command not found </source> :→ oci8를 다운로드하...)
 
잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 2명의 중간 판 39개는 보이지 않습니다)
1번째 줄: 1번째 줄:
;pecl 설치
{{다른뜻|우분투 php-pear 설치}}
;pecl: command not found
{{다른뜻|PECL 패키지 설치}}
;php-pear 설치, pecl 설치, PEAR 설치
;<nowiki>pecl: command not found</nowiki>


==문제상황==
==확인==
<source lang='dos'>
<syntaxhighlight lang='console'>
[root@jmnote ~]# pecl download oci8
[root@zetawiki ~]# pecl version
-bash: pecl: command not found
-bash: pecl: command not found
</source>
</syntaxhighlight>
:→ oci8를 다운로드하려는데 pecl이 없음 ([[PHP에서 오라클 DB 사용]] 참조)
<syntaxhighlight lang='console'>
[root@zetawiki ~]# pear version
-bash: pear: command not found
</syntaxhighlight>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# rpm -qa | grep php-pear
[root@zetawiki ~]# yum info php-pear
... (생략)
Available Packages
php-pear.noarch                      1:1.9.4-4.el6                          base
</syntaxhighlight>
:→ 설치되지 않음. [[yum 저장소]]에 있음(설치 가능함).
 
==설치==
<syntaxhighlight lang='console'>
[root@zetawiki ~]# yum install php-pear
... (생략)
====================================================================================================
Package                Arch                Version                      Repository          Size
====================================================================================================
Installing:
php-pear              noarch              1:1.9.4-4.el6                base              393 k
 
Transaction Summary
====================================================================================================
Install      1 Package(s)
 
Total download size: 393 k
Installed size: 2.2 M
Is this ok [y/N]: y
</syntaxhighlight>
<syntaxhighlight lang='console'>
... (생략)
Installed:
  php-pear.noarch 1:1.9.4-4.el6                                                           
 
Complete!
</syntaxhighlight>
 
==확인 2==
<syntaxhighlight lang='console'>
[root@zetawiki ~]# rpm -qa | grep php-pear
php-pear-1.9.4-4.el6.noarch
</syntaxhighlight>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# pecl version
PEAR Version: 1.10.1
PHP Version: 5.5.30
Zend Engine Version: 2.5.0
Running on: Linux zetawiki 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64
</syntaxhighlight>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# pear version
PEAR Version: 1.10.1
PHP Version: 5.5.30
Zend Engine Version: 2.5.0
Running on: Linux zetawiki 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64
</syntaxhighlight>
 
==같이 보기==
*[[우분투 php-pear 설치]]
*[[PEAR 버전 확인]]
*[[PECL Ncurses 설치]]
*[[pecl_http 설치]]
*[[PHP에서 오라클 DB 사용]]
*[[pecl 버전 확인]]
*[[/usr/bin/pecl]]
*[[pecl 설치된 패키지 목록 확인]]
 
[[분류: PECL]]

2020년 11월 2일 (월) 02:56 기준 최신판

  다른 뜻에 대해서는 우분투 php-pear 설치 문서를 참조하십시오.
  다른 뜻에 대해서는 PECL 패키지 설치 문서를 참조하십시오.
php-pear 설치, pecl 설치, PEAR 설치
pecl: command not found

1 확인[ | ]

[root@zetawiki ~]# pecl version
-bash: pecl: command not found
[root@zetawiki ~]# pear version
-bash: pear: command not found
[root@zetawiki ~]# rpm -qa | grep php-pear
[root@zetawiki ~]# yum info php-pear
... (생략)
Available Packages
php-pear.noarch                      1:1.9.4-4.el6                          base
→ 설치되지 않음. yum 저장소에 있음(설치 가능함).

2 설치[ | ]

[root@zetawiki ~]# yum install php-pear
... (생략)
====================================================================================================
 Package                Arch                 Version                       Repository          Size
====================================================================================================
Installing:
 php-pear               noarch               1:1.9.4-4.el6                 base               393 k

Transaction Summary
====================================================================================================
Install       1 Package(s)

Total download size: 393 k
Installed size: 2.2 M
Is this ok [y/N]: y
... (생략)
Installed:
  php-pear.noarch 1:1.9.4-4.el6                                                            

Complete!

3 확인 2[ | ]

[root@zetawiki ~]# rpm -qa | grep php-pear
php-pear-1.9.4-4.el6.noarch
[root@zetawiki ~]# pecl version
PEAR Version: 1.10.1
PHP Version: 5.5.30
Zend Engine Version: 2.5.0
Running on: Linux zetawiki 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64
[root@zetawiki ~]# pear version
PEAR Version: 1.10.1
PHP Version: 5.5.30
Zend Engine Version: 2.5.0
Running on: Linux zetawiki 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}