Re: Setting up PEAR on a shared host - any advise or pointers?
| From: | Torsten Roehr | Date: | Sat, 11 Dec 2004 22:36:51 +0000 |
| Subject: | Re: Setting up PEAR on a shared host - any advise or pointers? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16182@lists.php.net to get a copy of this message | ||
>Actually I take that back.. This command would add a path to the
>include_path but whenever I attempted to run a script to include a file,
the
>file couldn't be found.
Please always answer to the list. The path you set has to be a *full* system
path, e.g. '/htdocs/www/includes'. And this dir has to be your remote PEAR
dir so maybe you should use '/htdocs/www/includes/PEAR'.
$_SERVER['DOCUMENT_ROOT'] will give you the full system path. Please try
again.
Regards, Torsten