home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / xampp-win32-1.6.7-installer.exe / php / docs / PEAR / INSTALL next >
Encoding:
Text File  |  2008-07-02  |  1.9 KB  |  53 lines

  1. PEAR - The PEAR Installer
  2. =========================
  3. Installing the PEAR Installer.
  4.  
  5. You should install PEAR on a local development machine first.  Installing
  6. PEAR on a remote production machine should only be done after you are
  7. familiar with PEAR and have tested code using PEAR on your development
  8. machine.
  9.  
  10. There are two methods of installing PEAR
  11.  - PEAR bundled in PHP
  12.  - go-pear
  13.  
  14. We will first examine how to install PEAR that is bundled with PHP.
  15.  
  16. Microsoft Windows
  17. =================
  18. If you are running PHP 5.2.0 or newer, simply download and
  19. run the windows installer (.msi) and PEAR can be automatically
  20. installed.
  21.  
  22. Otherwise, for older PHP versions, download the .zip of windows,
  23. there is a script included with your PHP distribution that is called
  24. "go-pear".  You must open a command box in order to run it.  Click
  25. "start" then click "Run..." and type "cmd.exe" to open a command box.
  26. Use "cd" to change directory to the location of PHP where you unzipped it,
  27. and run the go-pear command.
  28.  
  29. Unix
  30. ====
  31. make sure you have enabled default extensions, and if you want faster
  32. downloads, enable the zlib extension.  You must also enable the CLI
  33. SAPI with the --enable-cli extension directive.  After this, simply run:
  34.  
  35. make install-pear
  36.  
  37. and PEAR will be automatically configured for you.
  38.  
  39. go-pear
  40. =======
  41. For users who cannot perform the above steps, or who wish to obtain the
  42. latest PEAR with a slightly higher risk of failure, use go-pear.  go-pear
  43. is obtained by downloading http://go-pear.org and saving it as go-pear.php.
  44. After downloading, simply run "php go-pear.php" or open it in a web browser
  45. (windows only) to download and install PEAR.
  46.  
  47. You can always ask general installation questions on pear-general@lists.php.net,
  48. a public mailing list devoted to support for PEAR packages and installation-
  49. related issues.
  50.  
  51. Happy PHPing, we hope PEAR will be a great tool for your development work!
  52.  
  53. $Id: INSTALL,v 1.1 2006/09/22 03:31:36 cellog Exp $