"PEAR 폴더 /usr/share/pear"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-<source lang='cli'> +<source lang='console'>))
5번째 줄: 5번째 줄:
*PEAR가 있는 폴더
*PEAR가 있는 폴더
*PEAR를 통해 패키지가 설치되는 폴더
*PEAR를 통해 패키지가 설치되는 폴더
<source lang='cli'>
<source lang='console'>
[root@zetawiki ~]# pear config-show | grep 'PEAR directory'
[root@zetawiki ~]# pear config-show | grep 'PEAR directory'
PEAR directory                php_dir          /usr/share/pear
PEAR directory                php_dir          /usr/share/pear
</source>
</source>
<source lang='cli'>
<source lang='console'>
[root@zetawiki ~]# php -i | grep ^include
[root@zetawiki ~]# php -i | grep ^include
include_path => .:/usr/share/pear:/usr/share/php => .:/usr/share/pear:/usr/share/php
include_path => .:/usr/share/pear:/usr/share/php => .:/usr/share/pear:/usr/share/php
15번째 줄: 15번째 줄:


==예시==
==예시==
<source lang='cli'>
<source lang='console'>
[root@zetawiki ~]# ll /usr/share/pear
[root@zetawiki ~]# ll /usr/share/pear
total 168
total 168
34번째 줄: 34번째 줄:
drwxr-xr-x.  3 root root  4096 Jun 11 17:10 XML
drwxr-xr-x.  3 root root  4096 Jun 11 17:10 XML
</source>
</source>
<source lang='cli'>
<source lang='console'>
[root@zetawiki ~]# pear list
[root@zetawiki ~]# pear list
Installed packages, channel pear.php.net:
Installed packages, channel pear.php.net:

2016년 3월 29일 (화) 11:00 판

1 개요

PEAR directory
PEAR 디렉토리, PEAR 폴더
/usr/share/pear 폴더
  • PEAR가 있는 폴더
  • PEAR를 통해 패키지가 설치되는 폴더
[root@zetawiki ~]# pear config-show | grep 'PEAR directory'
PEAR directory                 php_dir          /usr/share/pear
[root@zetawiki ~]# php -i | grep ^include
include_path => .:/usr/share/pear:/usr/share/php => .:/usr/share/pear:/usr/share/php

2 예시

[root@zetawiki ~]# ll /usr/share/pear
total 168
-rw-r--r--   1 root root 46149 Dec  9  2014 apc.php
drwxr-xr-x.  2 root root  4096 Jun 11 17:10 Archive
drwxr-xr-x.  2 root root  4096 Jun 11 17:10 Console
drwxr-xr-x.  5 root root  4096 Jun 14  2014 data
drwxr-xr-x.  8 root root  4096 Jun 11 17:07 doc
drwxr-xr-x.  2 root root  4096 Jun 11 17:10 OS
drwxr-xr-x. 11 root root  4096 Jun 11 17:10 PEAR
-rw-r--r--   1 root root  1087 Jun 11 17:10 PEAR5.php
-rw-r--r--   1 root root 14509 Jun 11 17:10 pearcmd.php
-rw-r--r--   1 root root 33852 Jun 11 17:10 PEAR.php
-rw-r--r--   1 root root  1006 Jun 11 17:10 peclcmd.php
drwxr-xr-x.  3 root root  4096 Jun 14  2014 Structures
-rw-r--r--   1 root root 20833 Jun 11 17:10 System.php
drwxr-xr-x.  7 root root  4096 Jun 11 17:07 test
drwxr-xr-x.  3 root root  4096 Jun 11 17:10 XML
[root@zetawiki ~]# pear list
Installed packages, channel pear.php.net:
=========================================
Package          Version State
Archive_Tar      1.3.16  stable
Console_Getopt   1.3.1   stable
PEAR             1.9.5   stable
Structures_Graph 1.0.4   stable
XML_RPC          1.5.4   stable
XML_Util         1.2.3   stable

3 같이 보기

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