"PEAR 설정 확인"의 두 판 사이의 차이

잔글 (로봇: 자동으로 텍스트 교체 (-<source lang='dos'> +<source lang='cli'>))
잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 2명의 중간 판 6개는 보이지 않습니다)
2번째 줄: 2번째 줄:


==예시==
==예시==
<source lang='cli'>
=== Ubuntu ===
[root@jmnote ~]# pear config-show
<syntaxhighlight lang='console'>
[root@zetawiki ~]# pear config-show
Configuration (channel pear.php.net):
Configuration (channel pear.php.net):
=====================================
=====================================
45번째 줄: 46번째 줄:
User Configuration File        Filename        /root/.pearrc
User Configuration File        Filename        /root/.pearrc
System Configuration File      Filename        /etc/pear.conf
System Configuration File      Filename        /etc/pear.conf
</source>
</syntaxhighlight>
===Synology DSM ===
<syntaxhighlight lang='console'>
synology@zetawiki:~$ pear config-show
Configuration (channel pear.php.net):
=====================================
Auto-discover new Channels    auto_discover    <not set>
Default Channel                default_channel  pear.php.net
HTTP Proxy Server Address      http_proxy      <not set>
PEAR server [DEPRECATED]      master_server    pear.php.net
Default Channel Mirror        preferred_mirror pear.php.net
Remote Configuration File      remote_config    <not set>
PEAR executables directory    bin_dir          /var/packages/PEAR/target/bin
PEAR documentation directory  doc_dir          /var/packages/PEAR/target/doc
PHP extension directory        ext_dir          /usr/local/lib/php56/modules
PEAR directory                php_dir          /var/packages/PEAR/target
PEAR Installer cache directory cache_dir        /var/packages/PEAR/target/cache
PEAR configuration file        cfg_dir          /var/packages/PEAR/target/cfg
directory
PEAR data directory            data_dir        /var/packages/PEAR/target/data
PEAR Installer download        download_dir    /var/packages/PEAR/target/download
directory
Systems manpage files          man_dir          /var/packages/PEAR/target/local/man
directory
PEAR metadata directory        metadata_dir    <not set>
PHP CLI/CGI binary            php_bin          /usr/local/bin/php56
php.ini location              php_ini          <not set>
--program-prefix passed to    php_prefix      <not set>
PHP's ./configure
--program-suffix passed to    php_suffix      <not set>
PHP's ./configure
PEAR Installer temp directory  temp_dir        /var/packages/PEAR/target/tmp
PEAR test directory            test_dir        /var/packages/PEAR/target/test
PEAR www files directory      www_dir          /var/packages/PEAR/target/htdocs
Cache TimeToLive              cache_ttl        3600
Preferred Package State        preferred_state  stable
Unix file mask                umask            22
Debug Log Level                verbose          1
PEAR password (for            password        <not set>
maintainers)
Signature Handling Program    sig_bin          /usr/local/bin/gpg
Signature Key Directory        sig_keydir      /usr/local/etc/php56/pearkeys
Signature Key Id              sig_keyid        <not set>
Package Signature Type        sig_type        gpg
PEAR username (for            username        <not set>
maintainers)
User Configuration File        Filename        /var/services/homes/zetawiki/.pearrc
System Configuration File      Filename        /usr/local/etc/php56/pear.conf
</syntaxhighlight>
* 시놀로지 PEAR는 아직 php56을 쓴다. php73을 쓰는 경우, 모두 php73으로 바꿔 주자.
* 시놀로지 PEAR 설정 수정 시, 패키지 센터에서 패키지가 손상된 것으로 인식하여 약간 거슬린다. 그렇다고 패키지 수리 버튼을 누를 시 PEAR 설정이 원상복구되므로 주의.


==같이 보기==
==같이 보기==

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

PEAR 설정 확인

1 예시[ | ]

1.1 Ubuntu[ | ]

[root@zetawiki ~]# pear config-show
Configuration (channel pear.php.net):
=====================================
Auto-discover new Channels     auto_discover    <not set>
Default Channel                default_channel  pear.php.net
HTTP Proxy Server Address      http_proxy       <not set>
PEAR server [DEPRECATED]       master_server    pear.php.net
Default Channel Mirror         preferred_mirror pear.php.net
Remote Configuration File      remote_config    <not set>
PEAR executables directory     bin_dir          /usr/bin
PEAR documentation directory   doc_dir          /usr/share/pear/doc
PHP extension directory        ext_dir          /usr/lib64/php/modules
PEAR directory                 php_dir          /usr/share/pear
PEAR Installer cache directory cache_dir        /var/cache/php-pear
PEAR configuration file        cfg_dir          /etc/pear
directory
PEAR data directory            data_dir         /usr/share/pear/data
PEAR Installer download        download_dir     /tmp/pear/download
directory
PHP CLI/CGI binary             php_bin          /usr/bin/php
php.ini location               php_ini          <not set>
--program-prefix passed to     php_prefix       <not set>
PHP's ./configure
--program-suffix passed to     php_suffix       <not set>
PHP's ./configure
PEAR Installer temp directory  temp_dir         /var/tmp
PEAR test directory            test_dir         /usr/share/pear/test
PEAR www files directory       www_dir          /var/www/html
Cache TimeToLive               cache_ttl        3600
Preferred Package State        preferred_state  stable
Unix file mask                 umask            22
Debug Log Level                verbose          1
PEAR password (for             password         <not set>
maintainers)
Signature Handling Program     sig_bin          /usr/bin/gpg
Signature Key Directory        sig_keydir       /etc/pearkeys
Signature Key Id               sig_keyid        <not set>
Package Signature Type         sig_type         gpg
PEAR username (for             username         <not set>
maintainers)
User Configuration File        Filename         /root/.pearrc
System Configuration File      Filename         /etc/pear.conf

1.2 Synology DSM[ | ]

synology@zetawiki:~$ pear config-show
Configuration (channel pear.php.net):
=====================================
Auto-discover new Channels     auto_discover    <not set>
Default Channel                default_channel  pear.php.net
HTTP Proxy Server Address      http_proxy       <not set>
PEAR server [DEPRECATED]       master_server    pear.php.net
Default Channel Mirror         preferred_mirror pear.php.net
Remote Configuration File      remote_config    <not set>
PEAR executables directory     bin_dir          /var/packages/PEAR/target/bin
PEAR documentation directory   doc_dir          /var/packages/PEAR/target/doc
PHP extension directory        ext_dir          /usr/local/lib/php56/modules
PEAR directory                 php_dir          /var/packages/PEAR/target
PEAR Installer cache directory cache_dir        /var/packages/PEAR/target/cache
PEAR configuration file        cfg_dir          /var/packages/PEAR/target/cfg
directory
PEAR data directory            data_dir         /var/packages/PEAR/target/data
PEAR Installer download        download_dir     /var/packages/PEAR/target/download
directory
Systems manpage files          man_dir          /var/packages/PEAR/target/local/man
directory
PEAR metadata directory        metadata_dir     <not set>
PHP CLI/CGI binary             php_bin          /usr/local/bin/php56
php.ini location               php_ini          <not set>
--program-prefix passed to     php_prefix       <not set>
PHP's ./configure
--program-suffix passed to     php_suffix       <not set>
PHP's ./configure
PEAR Installer temp directory  temp_dir         /var/packages/PEAR/target/tmp
PEAR test directory            test_dir         /var/packages/PEAR/target/test
PEAR www files directory       www_dir          /var/packages/PEAR/target/htdocs
Cache TimeToLive               cache_ttl        3600
Preferred Package State        preferred_state  stable
Unix file mask                 umask            22
Debug Log Level                verbose          1
PEAR password (for             password         <not set>
maintainers)
Signature Handling Program     sig_bin          /usr/local/bin/gpg
Signature Key Directory        sig_keydir       /usr/local/etc/php56/pearkeys
Signature Key Id               sig_keyid        <not set>
Package Signature Type         sig_type         gpg
PEAR username (for             username         <not set>
maintainers)
User Configuration File        Filename         /var/services/homes/zetawiki/.pearrc
System Configuration File      Filename         /usr/local/etc/php56/pear.conf
  • 시놀로지 PEAR는 아직 php56을 쓴다. php73을 쓰는 경우, 모두 php73으로 바꿔 주자.
  • 시놀로지 PEAR 설정 수정 시, 패키지 센터에서 패키지가 손상된 것으로 인식하여 약간 거슬린다. 그렇다고 패키지 수리 버튼을 누를 시 PEAR 설정이 원상복구되므로 주의.

2 같이 보기[ | ]

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