Re: Troubleshooting PEAR / HTML_QuickForm installation
| From: | Oliver Boermans | Date: | Fri, 21 Apr 2006 14:49:39 +0000 |
| Subject: | Re: Troubleshooting PEAR / HTML_QuickForm installation | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23798@lists.php.net to get a copy of this message | ||
On 4/21/06, Pierre <pierre.dev@gmail.com> wrote:
> You have to set your include_path. You can do it in the beginning of
> each script or in a config.php file using:
>
> set_include_path('.:/path/to/the/pear/install');
>
> Where "/path/to/the/pear/install" is where is the PEAR directory in
> your system. You should have a PEAR.php file in there.
Success! Thank-you Pierre.
Turns out there are two PEAR directories on my system
Inside:
/usr/local/php5/lib/php
And to get it to work I set it to the other (as suggested, in my php file):
/usr/lib/php
The dual php directories is perhaps is the core or cause of my
problem? Perhaps that is an issue for a less specific forum...
Thanks again for the lightning response!
- Hide quoted text -
Cheers Ollie
--
Ask me about CSS