To this PHP (as the current mainstream development language) unit can be obtained through PHP (as the current mainstream development language) extension and library (Peae). Pear is the framework and distribution system for reusable PHP, which is now the mainstream development language component. Installing PHP (as the current mainstream development language) unit can be obtained through the Pear Installer command:
Pear Install PHP (as the current mainstream development language) Unit2
According to the Pear version naming standard, PHP (as the mainstream development language) PHP 5 (as now the mainstream development language) unit package called PHP (as the current mainstream development language) Unit2. PHP (as the current mainstream development language) unit is for PHP (as the current mainstream development language) 4 of the package, which is later in this book on the "PHP (as now mainstream development language) 4 in PHP (as the current mainstream development language) unit" chapter will mention.
Install only, be able to find in the local pear directory of PHP (as the current mainstream development language) unit source code, the path is usually/usr/lib/php (as the current mainstream development language)/php (as the current mainstream development language) Unit2.
Although using the Pear installer is the only supported installation method for PHP (which is now the mainstream development language) unit, you can still install it manually. To install manually, refer to the following practices:
1. From http://pear.php (as the current mainstream development language). net/package/php (as the current mainstream development language) unit2/download download PHP (as the current mainstream development language) unit release the package, then unzip, Make sure the directory is in PHP (as the current mainstream development language). INI is defined in include_path.
2. Prepare PHP (as the current mainstream development language) unit script
A. Renaming pear-php (as the current mainstream development language) unit script to PHP (as the current mainstream development language) unit
B. Rename all @php in the script (as the current mainstream development language) _bin@ to PHP (as the current mainstream development language) the directory where the command-line interpreter resides (usually/usr/bin/php (as the current mainstream development language)).
C. Copy this script to a directory contained in a PATH environment variable and change the file properties to executable (chmod +x PHP (as the current mainstream development language) unit).
3. Replace all the @package_version@ strings in the script with PHP (as the current mainstream development language) unit2/runner/version.php (as the current mainstream development language) with the PHP you have installed (as the current mainstream development language) Unit version (e.g. 2.3.0).
http://www.bkjia.com/PHPjc/508637.html www.bkjia.com true http://www.bkjia.com/PHPjc/508637.html techarticle to this PHP (as the current mainstream development language) unit can be obtained through PHP (as the current mainstream development language) extension and library (Peae). PEAR is reusable PHP (as the current mainstream open ...