What is PEAR?
By ironmanxsl
@ironmanxsl (12)
United States
February 4, 2007 8:12pm CST
I heard a lot about PEAR and from my understanding it is a library for PHP but what can U do wiht it and how do u install it on ur server?
4 responses
@huanghaozi (1472)
• Egypt
13 Feb 07
PEAR Is short for ‘PHP Extension and Application Repository’
PEAR is having it’s primary goal to become a repository for PHP extensions and library code. The most important goal of the PEAR project is to try to define standard coding packages that can be used be developers directoly and it is re-usable coding.
Each package is a seperate project and is having a diffreent developer team.
Packages are in the gzipped tar files with a description file inside, and installed on your server using the PEAR installer.
You can install any pear package as
———–
pear install pear-package-name
———–
You can check all the PEAR packages that are available with
————
pear list-all
————
You can check installed PEAR packages on your server as
————
pear list
————
@zeloguy (4911)
• United States
6 Feb 07
The PHP Extension and Application Repository, or PEAR, is a framework and distribution system for PHP code components. PEAR project was founded in 1999 by Stig S. Bakken to promote reuse of code that performs common functions.
@halfserious (99)
• United States
5 Feb 07
It is like apt-get for adding packages to your operating system, or CPAN for adding new functionality to Perl libraries.
There is a good introduction on how to install at:
http://pear.php.net/manual/en/installation.php