If you??™re running PHP 5.1 or greater, note that PEAR was upgraded with version 5.1.
The improvements are transparent for users of previous versions, however, the installation
process has changed very slightly: %>lynx -source http://pear.php.net/
go-pear.phar | php.
No matter the version, once the installation process begins, you??™ll be prompted to
confirm a few configuration settings such as the location of the PHP root directory
and executable. You??™ll likely be able to accept the default answers (provided between
square brackets that appear alongside the prompts) without issue. During this round
of questions, you will also be prompted as to whether the six optional default packages
should be installed. It??™s presently an all-or-none proposition; therefore, if you??™d
like to immediately begin using any of the packages, just go ahead and accede to the
request.
Installing PEAR on Windows
PEAR is not installed by default with the Windows distribution. To install it, you
need to run the go-pear.bat file, located in the PHP distribution??™s root directory. This
file installs the PEAR command, the necessary support files, and the aforementioned
six PEAR packages. Initiate the installation process by changing to the PHP root directory
and executing go-pear.bat, like so:
%>go-pear.bat
You??™ll be prompted to confirm a few configuration settings such as the location of
the PHP root directory and executable; you??™ll likely be able to accept the default answers
without issue.
Pages:
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390