Você está na página 1de 3

1/8/2017 Install PEAR for PHP 7.

0 - Cuonic

Cuonic (Liam Jack) Posts Contact About

Install PEAR for PHP 7.0


sudo apt-get update

sudo apt-get install php7.0-dev

wget http://pear.php.net/go-pear.phar

sudo php go-pear.phar

Follow instructions and win:

Below is a suggested file layout for your new PEAR


installation. To
change individual locations, type the number in front
of the
directory. Type 'all' to change all of them or simply
press Enter to
accept these locations.

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/php
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. System manual pages directory :
/usr/man
11. Tests directory :
/usr/tests
12. Name of configuration file :
/etc/pear.conf

1-12, 'all' or Enter to continue:

https://cuonic.com/posts/install-pear-for-php-70 1/3
1/8/2017 Install PEAR for PHP 7.0 - Cuonic

Beginning install...
Configuration written to /etc/pear.conf...
Initialized registry...
Preparing to install...
installing phar:///home/cuonic/go-pear.phar/PEAR/go-
pear-tarballs/Archive_Tar-1.4.0.tar...
installing phar:///home/cuonic/go-pear.phar/PEAR/go-
pear-tarballs/Console_Getopt-1.4.1.tar...
installing phar:///home/cuonic/go-pear.phar/PEAR/go-
pear-tarballs/PEAR-1.10.1.tar...
installing phar:///home/cuonic/go-pear.phar/PEAR/go-
pear-tarballs/Structures_Graph-1.1.1.tar...
installing phar:///home/cuonic/go-pear.phar/PEAR/go-
pear-tarballs/XML_Util-1.3.0.tar...
install ok: channel://pear.php.net/Archive_Tar-1.4.0
install ok: channel://pear.php.net/Console_Getopt-1.4.1
install ok: channel://pear.php.net/Structures_Graph-
1.1.1
install ok: channel://pear.php.net/XML_Util-1.3.0
install ok: channel://pear.php.net/PEAR-1.10.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"

The 'pear' command is now at your service at


/usr/bin/pear

** The 'pear' command is not currently in your PATH, so


you need to
** use '/usr/bin/pear' until you have added
** '/usr/bin' to your PATH environment variable.

Run it without parameters to see the available actions,


try 'pear list'
to see what packages are installed, or 'pear help' for
help.

For more information about PEAR, see:

http://pear.php.net/faq.php
http://pear.php.net/manual/

Thanks for using go-pear!

https://cuonic.com/posts/install-pear-for-php-70 2/3
1/8/2017 Install PEAR for PHP 7.0 - Cuonic

Powered by Anchor CMS.

https://cuonic.com/posts/install-pear-for-php-70 3/3

Você também pode gostar