Proposal for PEAR configuration stuff
| From: | Vincent Blavet | Date: | Tue, 19 Feb 2002 07:51:08 +0000 |
| Subject: | Proposal for PEAR configuration stuff | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-4804@lists.php.net to get a copy of this message | ||
Proposal for PEAR configuration stuff :
1. Adding an entry for PEAR in php.ini :
[PEAR]
; PEAR Installation directory
pear_install_dir = "d:\php\pear"
; Optional PEAR configuration file (default is pear.ini in pear_install_dir)
; pear_configuration = "d:\php\pear\pear.ini"
2. pear.ini will be (by default) in the pear_install_dir.
3. pear.ini : Why not adding an entry for each package ?
[PEAR]
; Here are core PEAR configuration
php_dir = d:\php\bin\php\pear
ext_dir = d:\php\bin\php\extensions
master_server = pear.php.net
[Auth]
; TBD
[Archive_Tar]
; Set default compresison mode
;archive_tar_default_compression = false
4. I don't have fully understand the difference between pearsys.ini and pear.ini ....
This will give an entry point to PEAR information and configuration. This may be used for exemple by
functions like the (beta not committed) pearinfo() and installation functions.
(For pearinfo() see http://pear.blavet.net/pearinfo.show.php and http://pear.blavet.net/pearinfo.htm)
Vincent