Recent Changes - Search:

Softwares

.

PEARPHPExtensionAndApplicationRepository

Main.PEARPHPExtensionAndApplicationRepository History

Hide minor edits - Show changes to output

January 29, 2007, at 12:21 AM by 202.56.231.116 -
Added lines 1-63:
%blue%PEAR PHP Extension and Application Repository

http://pear.php.net/packages.php


%blue%Getting the manager

http://pear.php.net/manual/en/installation.getting.php

The PHP Extension and Application Repository, or PEAR, is a framework and distribution system for PHP code components.

The command line installer is the easiest way to install PEAR packages
on your system: It connects to the PEAR package server via a simple HTTP connection, loads the package on your system and installs it to the
desired location.

%blue%Fully-automatic installation

Using the command line installer is pretty straightforward and easy to
use. Simply run the following line on your shell:


$ pear install <package>


<package> has to be replaced with the name of the package you want to
install (e.g. HTTP_Upload).


If the wanted package has not reached a stable release yet, you can
force the installation by adding a "-beta" or "-alpha" suffix, depending on the current state of the package:


$ pear install <package>-beta


There are also other options to install a beta or alpha package, using
the "-f" switch to force the installation, or setting the preferred_state to beta. Any of the following commands will do:


$ pear config-set preferred_state beta
$ pear install <package>
$ pear config-set preferred_state stable



$ pear -d preferred_state=beta install <package>



$ pear install -f <package>


%blue%Semi-automatic installation

If you have downloaded a package release from http://pear.php.net/ as a
gzipped tar archive, you can also install it locally. To do this, run
the following line on your shell:


$ pear install <file>.tgz


This command will automatically install the package and does not require an online connection. <file>.tgz has to be replaced with the name of the downloaded file.
Edit - History - Print - Recent Changes - Search
Page last modified on January 29, 2007, at 12:21 AM