Using Pear

jonatx10

New Member
Messages
5
Reaction score
0
Points
0
Hi

I wanted to use Pear but it doesn't seem accessible to PHP - I get an include error that it can't find PEAR.php.
I know this exists in /usr/lib/php/ (and that the pear config is set up using that directory) - any ideas why PHP can't find it, throwing the following?

Warning: include_once() [function.include]: Failed opening 'PEAR.php' for inclusion (include_path='/home/jonatx10/public_html/test/lib:.:/usr/lib/php:/usr/local/lib/php')
Thanks
 

jonatx10

New Member
Messages
5
Reaction score
0
Points
0
I had done a search through the Forums but hadn't found that thread - Thanks, I'll give it a try.

As Pear is installed at a lower level on the server itself I had assumed that I would be able to use that but I guess not! It makes sense that we can install and customise our own subsystems as this is clearly much more flexible.
It's just a real pain not having SSH\Telnet\Xterm etc. type access - it means running all commands through cron which is doesn't really allow quick processing! (Unless there is an easier way??)

Thanks
Jon
 
Top