-------------- Install PEAR -------------- PEAR is PHP extension and application library, containing a lot of useful classes, installing PHP5 After .0, PEAR is actually not installed, the installation method is as follows: 1. Double-click Go-pear.bat in the PHP directory. 2. Follow the prompts to enter some setup information, mainly to add the gateway of the LAN, such as http://192.168.0.1:80/, PEAR wants to access the Internet with this address, if there is no proxy server, enter directly 20. then Will prompt some packages and PHP bindings to select Y. 4. Then install the basic package and prompt installation is so simple. 5. Open the php.ini file under the Windows directory, then find the following place:; UNIX: "/ Path1: / Path2"; include_path = ".: / Php / incruDes" ;; Windows: "/ Path1; / Path2 "; incrude_path =".; C: / PHP / Includes "removes the last line of comments, then change the back path to your PEAR path, for example: incrude_path =".; C: / PHP / PEAR / "Save PHP. INI, then restart Apache. --------------- Pear Command Help --------------- In your PEAR directory, you can find pear.php files, which is managing PEAR The command is used in CMD.
Its partial command function is as follows: Install: Pear Install PackageName Download Packages but not installed: Pear Download PackageName Pear Download-all installed Downloaded Package: Pear Install FileName.tgz list: Current PEAR All the list of PEARs can be obtained on the website: Pear Remote-list Lists the installed package: Pear list: Pear List-Upgrades Update (Update): Update Package: Pear Upgrade PackageName Pear Upgrade-all removal : Delete installed packages: Pear uninstall packageName ---------------- Install new package --------------- For example you from HTTP : //pear.php.net/package/ Download the new package xxx.tgz. Turn it to the C: / PHP / PEAR / Go-Pear-bundle directory, then enter: pear install xxx.tgz in CMD, the relevant file is extracted into the C: / PHP / PEAR / corresponding directory. -------------- - Example --------------- Download Pear :: HTML_COMMON and PEAR :: HTML_QUICKFORM package, then install.
Built a new PHP file, enter the code
http://blog.9cbs.net/airhand/
related articles
PHP 5.0 PEAR installation method Various language polymorphism Compare PHP 5.0 Cannot load Dynamic Module Solutions Visual Studio 2005 Product Line Overview Eclipse plug-in installation solution