FreeBSD 8

PHP

PEAR

PHP Extension and Application Repository

Setup Process

  1. cd /usr/ports/devel/pear
  2. make install
    PHP Warnings
    …
    Bootstrapping Installer……………….
    Bootstrapping PEAR.php…………(local) ok
    Bootstrapping Archive/Tar.php…………(local) ok
    Bootstrapping Console/Getopt.php…………(local) ok

Extracting installer………………
Using local package: PEAR………….ok
Using local package: Structures_Graph….ok

Preparing installer………………
…
Updating channel “doc.php.net”
…
Channel “doc.php.net” is up to date
…
Updating channel “pear.php.net”
Channel “pear.php.net” is up to date
…
Updating channel “pecl.php.net”
Channel “pecl.php.net” is up to date

Installing selected packages………………
…
Installing bootstrap package: PEAR……………….
…
install ok: channel://pear.php.net/PEAR-1.9.1
…
PEAR: Optional feature webinstaller available (PEAR’s web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR’s PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR’s PHP-GTK2-based installer)
PEAR: To install optional features use “pear install pear/PEAR#featurename”
Installing bootstrap package: Structures_Graph…….
…
install ok: channel://pear.php.net/Structures_Graph-1.0.3
…
Installing local package: Archive_Tar-stable………
…
install ok: channel://pear.php.net/Archive_Tar-1.3.7

…
Installing local package: Console_Getopt-stable…….
…
install ok: channel://pear.php.net/Console_Getopt-1.2.3
…
===> Registering installation for pear-1.9.1

  1. pecl install channel://pecl.php.net/ssh2-0.11.0
  1. cd /usr/ports/security/libssh2
  2. make config [ ] GCRYPT Use libgcrypt instead of OpenSSL [ ] TRACE Enable debug packet traces [X] ZLIB Enable compression
  3. make install
    …
    => Installing for libssh2-1.2.7,2 => Generating temporary packing list
    => Checking if security/libssh2 already installed => An older version of security/libssh2 is already installed (libssh2-1.2.5,2) You may wish to ``make deinstall’‘ and install this port again by ``make reinstall’‘ to upgrade it properly. If you really wish to overwrite the old port of security/libssh2 without deleting it first, set the variable “FORCE_PKG_REGISTER” in your environment or the “make install” command line.
  4. make deinstall
  5. make reinstall
    => Compressing manual pages for libssh2-1.2.7,2 => Running ldconfig
    /sbin/ldconfig -m /usr/local/lib
    ===> Registering installation for libssh2-1.2.7,2