Re: beginner with go-pear on shared host
| From: | Justin Patrin | Date: | Thu, 08 Jul 2004 17:14:43 +0000 |
| Subject: | Re: beginner with go-pear on shared host | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13554@lists.php.net to get a copy of this message | ||
On Thu, 08 Jul 2004 15:20:00 +0200, Me <steven@sifre.demon.nl> wrote:
> Justin Patrin wrote:
>
> > Not sure about the rest, but you need backquotes to run system
> > commands. That's the thing under the tilde on the top-left of your
> > keyboard.
> >
> > echo
which php;
> >
> > You could also do:
> >
> > 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:-(
>
Likely, 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.
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--