Re: PHP_Extension package

From: Date: Sat, 17 Apr 2004 22:17:50 +0000
Subject: Re: PHP_Extension package
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-27890@lists.php.net to get a copy of this message
Lukas Smith wrote:
Philippe Jausions wrote:
Just inquiring if a package that would check and load PHP extensions is of interest for the PEAR community. The main purpose of the package is to gracefully handle extensions availability. 1. If the extension is already loaded, it's fine. 2. If the extension is not, an attempt at loading it is made based on current configuration (safe-mode, dl_enabled, multihtreaded, CGI, CLI...) A copy of the file can be found at: http://www.11abacus.com/cvs/pear/PHP_Extension.phps
I am about to go to bed so no time looking at the code. Are you aware of PEAR::loadExtension()? Lukas Smith Ok, 3 things:
- 1st, sorry for the "delivery notice" (forgot to turn that off) - 2nd: Since PEAR::loadExtension() exists (my bad for not checking), I propose to add my code to that method instead. I'll create a .diff file and post a "bug" for it. - 3rd: My code was missing some file extension checks, I'll fix that. -Philippe

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