[thelist] Using PEAR on hosts that don't have PEAR installed

David Bindel dbindel at austin.rr.com
Mon Aug 4 16:13:10 CDT 2003


Marek wrote:
> Both ways seem easy enough to me.
> 
> David Bindel wrote:
>> 
>> 1) using ini_set() at the top of every page that utilizes PEAR
>> functionality to add the PEAR directory to include_path.
>> 
>> 2) creating a .htaccess in every directory to set the include_path
>> to include the PEAR directory. 
>> 
>> Isn't there an easier way to do this?  I'd really appreciate y'all's
>> comments and suggestions on this.

Sorry, both of those ways are *easy*, but I would rather not rely on
.htaccess or having to change the configuration on every page.  I guess
I should have asked this: isn't there a more practical and convenient
way to use PEAR on servers which do not have PEAR installed?

Thanks,
David

--
    David I. Bindel
  Website Development
 dbindel at austin.rr.com
  www.davidbindel.com



More information about the thelist mailing list