Re: PEAR not on host

From: Date: Thu, 23 Jan 2003 20:59:19 +0000
Subject: Re: PEAR not on host
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3434@lists.php.net to get a copy of this message
(Should be in the FAQ?) Yes, you can use your own pear. Some would argue that you should do so even if your host provides one, because if you depend on your host's version, then if he ever upgrades you might have something break. Put your pear where you want it. Then modify your php include path before you require or include pear: ini_set('include_path', '/path/to/my/pear:/my/other/stuff:.'); or ini_set('include_path', "/path/to/my/pear:" . init_get('include_path')); You can also do this using .htaccess files, if your host uses apache and if he has it turned on. On Thu, 2003-01-23 at 13:05, Sean Robertson wrote: > I was just curious, I have come across a login script using PEAR, I contacted my host and they > don't have access to it, without them having it on our server does that put me out of luck, or > can I install it myself and expect for it to work when I use my scripts through my server? > > Sean sean@germiphene.com -- Mitchell Perilstein mitch at enetis dot net www.enetis.net/~mitch

« previous php.pear.general (#3434) next »