Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7012063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:12:27+00:00 2026-05-27T22:12:27+00:00

During installation, i saw different default directories for PEAR. Later on can i list

  • 0

During installation, i saw different default directories for PEAR.

Later on can i list these directories by any command?

pear.conf doesn’t help me in figuring out 🙁

$cat /etc/pear.conf

PEAR_Config 0.9
a:11:{s:15:”preferred_state”;s:6:”stable”;s:8:”temp_dir”;s:17:”/tmp/pear/install”;s:12:”download_dir”;s:17:”/tmp/pear/install”;s:7:”bin_dir”;s:8:”/usr/bin”;s:7:”php_dir”;s:15:”/usr/share/pear”;s:7:”doc_dir”;s:9:”/usr/docs”;s:8:”data_dir”;s:9:”/usr/data”;s:7:”cfg_dir”;s:8:”/usr/cfg”;s:7:”www_dir”;s:8:”/usr/www”;s:8:”test_dir”;s:10:”/usr/tests”;s:10:”_channels”;a:3:{s:5:”_uri”;a:0:{}s:11:”doc.php.net”;a:0:{}s:12:”pecl.php.net”;a:0:{}}}[root@domU-12-31-39-02-2D-FD etc

1. Installation base ($prefix)                   : /usr
2. Temporary directory for processing            : /tmp/pear/install
3. Temporary directory for downloads             : /tmp/pear/install
4. Binaries directory                            : /usr/bin
5. PHP code directory ($php_dir)                 : /usr/share/pear
6. Documentation directory                       : /usr/docs
7. Data directory                                : /usr/data
8. User-modifiable configuration files directory : /usr/cfg
9. Public Web Files directory                    : /usr/www
10. Tests directory                               : /usr/tests
11. Name of configuration file                    : /etc/pear.conf
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T22:12:28+00:00Added an answer on May 27, 2026 at 10:12 pm

    You already found the location that stores these information. It’s stored as object serialization.

    s:7:"bin_dir";s:8:"/usr/bin"
    

    means: String “bin_dir” (aka Binaries directory) String “/usr/bin”

    More comfortable is pear config-show as stated in the PEAR Manual

    $ 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/php/doc
    PHP extension directory        ext_dir          /usr/lib/php5/20090626+lfs
    PEAR directory                 php_dir          /usr/share/php
    PEAR Installer cache directory cache_dir        /tmp/pear/cache
    PEAR configuration file        cfg_dir          /usr/share/php/cfg
    directory
    PEAR data directory            data_dir         /usr/share/php/data
    PEAR Installer download        download_dir     /build/buildd/php5-5.3.6/pear-build-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         /tmp/pear/temp
    PEAR test directory            test_dir         /usr/share/php/test
    PEAR www files directory       www_dir          /usr/share/php/htdocs
    Cache TimeToLive               cache_ttl        3600
    Preferred Package State        preferred_state  stable
    Unix file mask                 umask            2
    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/pear/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         /home/cb/.pearrc
    System Configuration File      Filename         /etc/pear/pear.conf
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In order to prevent command windows from popping up during installation I am using
I am adding elements to an XML file during installation using the XmlFile element:
Is the option to create a desktop shortcut during installation only available if the
My installer requires admin privileges. During installation some values are written to the HKCU
I'm building an installer using InstallScript MSI project. During installation I save some information
During the installation of Apache2 I got the following message into cmd window: Installing
I am having difficulty reliably creating / removing event sources during the installation of
I just installed Oracle Express edition. During the installation it asked me to set
We are using VS2008 native Installer to set up our product. During both installation
During installation, it's possible to update the InnoSetup wizard status text from inside the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.