For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > April 2006 > Re: [PEAR] Troubleshooting PEAR / HTML_QuickForm installation









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] Troubleshooting PEAR / HTML_QuickForm installation
Oliver Boermans

2006-04-21, 7:02 pm

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com