Skip to content

Instantly share code, notes, and snippets.

@vvikramjhu
Created January 19, 2014 01:38
Show Gist options
  • Save vvikramjhu/8499315 to your computer and use it in GitHub Desktop.
Save vvikramjhu/8499315 to your computer and use it in GitHub Desktop.
-bash-3.2$ php go-pear.php
PHP Deprecated: Comments starting with '#' are deprecated in /web/conf/php5.ini on line 1256 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /web/conf/php5.ini on line 1257 in Unknown on line 0
Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
Sorry! Your PHP version is too new (5.3.13) for this go-pear.
Instead use http://pear.php.net/go-pear.phar for a more stable and current
version of go-pear, more suited to your PHP version.
Thank you for your coopertion and sorry for the inconvenience!
-bash-3.2$ php go-pear.phar
PHP Deprecated: Comments starting with '#' are deprecated in /web/conf/php5.ini on line 1256 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /web/conf/php5.ini on line 1257 in Unknown on line 0
Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
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) : /var/chroot/home/content/92/7310992/pear
2. Temporary directory for processing : /tmp/pear/install
3. Temporary directory for downloads : /tmp/pear/install
4. Binaries directory : /var/chroot/home/content/92/7310992/pear/bin
5. PHP code directory ($php_dir) : /var/chroot/home/content/92/7310992/pear/share/pear
6. Documentation directory : /var/chroot/home/content/92/7310992/pear/docs
7. Data directory : /var/chroot/home/content/92/7310992/pear/data
8. User-modifiable configuration files directory : /var/chroot/home/content/92/7310992/pear/cfg
9. Public Web Files directory : /var/chroot/home/content/92/7310992/pear/www
10. Tests directory : /var/chroot/home/content/92/7310992/pear/tests
11. Name of configuration file : /var/chroot/home/content/92/7310992/.pearrc
1-11, 'all' or Enter to continue:
Beginning install...
Configuration written to /var/chroot/home/content/92/7310992/.pearrc...
Initialized registry...
Preparing to install...
installing phar:///home/content/92/7310992/html/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.11.tar...
installing phar:///home/content/92/7310992/html/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.3.1.tar...
installing phar:///home/content/92/7310992/html/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.9.4.tar...
installing phar:///home/content/92/7310992/html/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.4.tar...
installing phar:///home/content/92/7310992/html/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.2.1.tar...
install ok: channel://pear.php.net/Archive_Tar-1.3.11
install ok: channel://pear.php.net/Console_Getopt-1.3.1
install ok: channel://pear.php.net/Structures_Graph-1.0.4
install ok: channel://pear.php.net/XML_Util-1.2.1
install ok: channel://pear.php.net/PEAR-1.9.4
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"
******************************************************************************
WARNING! The include_path defined in the currently used php.ini does not
contain the PEAR PHP directory you just specified:
</var/chroot/home/content/92/7310992/pear/share/pear>
If the specified directory is also not in the include_path used by
your scripts, you will have problems getting any PEAR packages working.
Would you like to alter php.ini </web/conf/php5.ini>? [Y/n] : Y
******************************************************************************
WARNING: Cannot write to /web/conf/php5.ini, but php.ini was successfully created
at </var/chroot/home/content/92/7310992/pear/php.ini-gopear>. Please replace the file </web/conf/php5.ini> with
</var/chroot/home/content/92/7310992/pear/php.ini-gopear> or modify your php.ini by adding:
include_path=".:/var/chroot/home/content/92/7310992/pear/share/pear"
Current include path : .:/usr/local/php5_3/lib/php
Configured directory : /var/chroot/home/content/92/7310992/pear/share/pear
Currently used php.ini (guess) : /web/conf/php5.ini
Press Enter to continue:
** WARNING! Old version found at /usr/local/bin/pear, please remove it or be sure to use the new /var/chroot/home/content/92/7310992/pear/bin/pear command
The 'pear' command is now at your service at /var/chroot/home/content/92/7310992/pear/bin/pear
** The 'pear' command is not currently in your PATH, so you need to
** use '/var/chroot/home/content/92/7310992/pear/bin/pear' until you have added
** '/var/chroot/home/content/92/7310992/pear/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!
-bash-3.2$ /var/chroot/home/content/92/7310992/pear/bin/pear install Mail.php
PHP Deprecated: Comments starting with '#' are deprecated in /web/conf/php5.ini on line 1256 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /web/conf/php5.ini on line 1257 in Unknown on line 0
Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
parsePackageName(): invalid package name "Mail.php" in "Mail.php"
invalid package name/package file "Mail.php"
install failed
-bash-3.2$ /var/chroot/home/content/92/7310992/pear/bin/pear install Mail
PHP Deprecated: Comments starting with '#' are deprecated in /web/conf/php5.ini on line 1256 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /web/conf/php5.ini on line 1257 in Unknown on line 0
Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
pear/Mail is already installed and is the same as the released version 1.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment