Pear Configuration

From: Date: Thu, 26 Jul 2001 14:50:14 +0000
Subject: Pear Configuration
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-1068@lists.php.net to get a copy of this message
I remember a discussion about putting PEAR configuration in php.ini. I'm tired of writing PEAR::setErrorHandling every time I start coding. Here are a few options. a) Each PEAR class has it's own config file (i.e. PEAR.ini) and it reads it on start, use PEAR::Config to write read b) All classes have one config file namely PEAR.ini with different sections for each class/package c) Use php.ini Ideas if using a or b *) make shell scripts / web interface for configuring PEAR *) Pear should provide methods to register an option getParam/setParam methods *) Configuration should be loaded/save with constructors/destructors The difference between a good man and a bad one is the choice of cause - William James

« previous php.pear.dev (#1068) next »