1 개요[ | ]
- PEAR directory
- PEAR 디렉토리, PEAR 폴더
- /usr/share/pear 폴더
- PEAR가 있는 폴더
- PEAR를 통해 패키지가 설치되는 폴더
Console
Copy
[root@zetawiki ~]# pear config-show | grep 'PEAR directory'
PEAR directory php_dir /usr/share/pear
Console
Copy
[root@zetawiki ~]# php -i | grep ^include
include_path => .:/usr/share/pear:/usr/share/php => .:/usr/share/pear:/usr/share/php
2 예시[ | ]
Console
Copy
[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
Console
Copy
[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 같이 보기[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.