Online
 
Friday, 09 January 2009
 
 
More article:
Related Content:

Php - Using the PEAR Package Manager
 
Article Index
Php - Using the PEAR Package Manager
Page 2
Page 3
Page 4
 

This will return results similar to the following:

Matched packages:
=================
Package Stable/(Latest) Local
Cache 1.5.4 Framework for caching of arbitrary data.
Cache_Lite 1.3 Fast and Safe little cache system
memcache 1.1 memcached extension

 

According to this listing, there are three packages that deal with caching; however, not much else is given in the way of helpful information about these packages. To retrieve useful information about a package, use the remote-info command: pear remote-info Cache. This will return a detailed listing about the package, including its maintainers, release date, license type, status, and more.

NOTE

By default, the PPM's master_server parameter is set to . This means that the PPM will use that server to check for and download packages. This can be changed with the pear config-set command. This chapter assumes the use of as the master server in all examples.


Installing and Upgrading Packages

The PPM may be used to install PEAR packages directly from the code repository. They do not even need to be downloaded from the website; the PPM takes care of this. In addition, the pear install command checks for package dependencies before proceeding with the install. If necessary, it will fail as it does in the following example:

$> pear install Cache
downloading Cache-1.5.4.tgz ...
Starting to download Cache-1.5.4.tgz (30,690 bytes)
.........done: 30,690 bytes
requires package `HTTP_Request'
Cache: Dependencies failed



Tags: Add more tags...,
This entry was posted on . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a comment. Tags: Simple PHP, Pear, Easy PHP, PHP Tutorial, PHP MySQL, XSLT, Sap Tutorial, CSS Tutorial, XSL FO Java, SQL Tutorial.
Users' Comments (0)

Comment an article
  Name
  E-mail
   Title
Available characters: 4000
 Notify me of follow-up comments
This image contains a scrambled text, it is using a combination of colors, font size, background, angle in order to disallow computer to automate reading. You will have to reproduce it to post on my homepage
Enter what you see:

No comment posted

Mobile Wallpaper 23
Statistic


Last Post

 
Top! Top!