Pear DB installation of PHP under Windows (Local environment: php5.4.15+apache+mysql) _php Tutorial

Source: Internet
Author: User
Tags channel pear pear
< span="">
< span="">
< span="">
< span="">
< span="">
< span="">< span="">
Open cmd,

C:\Documents and Settings\sun>d:

C:\Documents and SETTINGS\SUN>CD D:\www\php54//In this way into the Go-pear.phar storage path

d:\www\php54>php Go-pear.phar//Installation Go-pear.phar

Is you installing a system-wide PEAR or a local copy?
< span="">Enter Local here

< span="">Enter Yes here, followed by the ENTER key

Below is a suggested the 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): D:\WWW\PHP54
2. Temporary directory for processing:d:\www\php54\tmp
3. Temporary directory for downloads:d:\www\php54\tmp
4. Binaries DIRECTORY:D:\WWW\PHP54
5. PHP Code directory ($php _dir): D:\www\php54\pear
6. Documentation Directory:d:\www\php54\docs
7. Data Directory:d:\www\php54\data
8. user-modifiable Configuration Files Directory:d:\www\php54\cfg
9. Public Web Files Directory:d:\www\php54\www
Ten. Tests directory:d:\www\php54\tests
Name of configuration File:d:\www\php54\pear.ini
Path to CLI PHP.EXE:D:\WWW\PHP54

1-12, ' all ' or Enter to continue:
Beginning Install ...
Configuration written to D:\www\php54\pear.ini ...
Initialized Registry ...
Preparing to install ...
Installing Phar://d:/www/php54/go-pear.phar/pear/go-pear-tarballs/archive_tar-1.
3.11.tar ...
Installing phar://d:/www/php54/go-pear.phar/pear/go-pear-tarballs/console_getopt
-1.3.1.tar ...
Installing Phar://d:/www/php54/go-pear.phar/pear/go-pear-tarballs/pear-1.9.4.tar
...
Installing Phar://d:/www/php54/go-pear.phar/pear/go-pear-tarballs/structures_gra
Ph-1.0.4.tar ...
Installing phar://d:/www/php54/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:

If The specified directory is also not on the include_path used by
Your scripts, you'll have the problems getting any PEAR packages working.


? [y/n]: Y

PHP.ini include_path updated.

Current include path:.; C:\php\pear
Configured Directory:d:\www\php54\pear
Currently used php.ini (guess): D:\www\php54\php.ini
Press Enter to continue:

* * warning! Old version found at D:\WWW\PHP54, remove the IT or be sure to us
E The new D:\www\php54\pear.bat command

The ' pear ' command is now on your service at D:\www\php54\pear.bat

* * the ' pear ' command is not currently in your PATH, so you need to
* * use ' d:\www\php54\pear.bat ' until you have added
* * ' D:\www\php54 ' to your PATH environment variable.

Run it without parameters to see the available actions, try ' pear list '
To see what packages is installed, or ' pear help ' for help.

For more information on PEAR, see:

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

Thanks for using go-pear!


Pear List
Installed PACKAGES, CHANNEL PEAR. Php.net:
=========================================
Package VERSION State
Archive_tar 1.3.11 Stable
Console_getopt 1.3.1 Stable
PEAR 1.9.4 Stable
Structures_graph 1.0.4 Stable
Xml_util 1.2.1 Stable

Pear Install DB//Installation DB Library

http://www.bkjia.com/PHPjc/738530.html www.bkjia.com true http://www.bkjia.com/PHPjc/738530.html techarticle open cmd, C:\Documents and settings\sund:c:\documents and SETTINGS\SUNCD D:\www\php54//In this way into the Go-pear.phar storage path d:\ www\php54php Go-pear.phar//Installation go-p ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.