Re: beginner with go-pear on shared host
| From: | Steven | Date: | Thu, 08 Jul 2004 21:09:08 +0000 |
| Subject: | Re: beginner with go-pear on shared host | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13563@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
Thanks, I didn't realize that was possible. The paths I see in the configuration section of the PEAR installer frontend gave me the impression the installed files are somehow configured to work with the php and pear files in the system. Which may be different on different systems. But this impression is wrong I understand. These paths are only used for the installer frontend then? This brings me brings me to another question. To work with pear libs that I install in my web directory does the system *have* to have the PEAR Foundation Classes installed? I know these are bundled with PHP but this ISP is having a rather non-standard configuration (register_globals on and safe mode off for instance). I don't see "'--with-pear" in the configuration command. Is there a way to find out if the PFC are installed short of calling the ISP? Thanks, StevenLikely, your host is blocking shell commands then, as they should be. You could use go-pear on your own machine, then just upload the entire PEAR directory that gets created. This should work fine, it's just an extra step.echo system('which php');Thanks for clearing that up, both methods now work on my local machine, the latter doesn't seem to need the 'echo' to work though. However on the shared host, the one I'm trying to install pear to, it produces no output at all:-(