11.07.2015 Views

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

www.it-ebooks.infoCHAPTER 11 • PEARTo get better acquainted with the Package Manager, open up a command prompt and execute thefollowing:%>pearYou’ll be greeted with a list of commonly used commands and some usage information. This outputis pretty long, thus it won’t be reproduced here. So, if you’re interested in learning more about one of thecommands not covered in the remainder of this chapter, execute that command in the PackageManager, supplying the help parameter like so:%>pear help ■ Tip If PEAR doesn’t execute because the command is not found, you need to add the executable directory toyour system path.Viewing an Installed PEAR PackageViewing the packages installed on your machine is simple; just execute the following:%>pear listHere’s some sample output:Installed packages:===================Package Version StateArchive_Tar 1.3.3 stableConsole_Getopt 1.2.3 stableMail 1.2.0 stablePEAR 1.9.0 stableStructures_Graph 1.0.2 stableXML_Util 1.2.1 stableLearning More about an Installed PEAR PackageThe output in the preceding section indicates that eight packages are installed on the server in question.However, this information is quite rudimentary and really doesn’t provide anything more than thepackage name and version. To learn more about a package, execute the info command, passing it thepackage name. For example, you would execute the following command to learn more about theConsole_Getopt package:%>pear info Console_Getopt261

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!