On Aug 2, 2007, at 10:24 AM, rtanz wrote:

>
> im trying to use pear with cakephp, i installed it using the uniserver
> installer so now pear is located at W:\home\admin\www\plugins\pear/
> PEAR. my cakephp code on the other hand is failing to find it, so how
> can i set cake to included that pear file? thanks
>
> Warning: require_once(PEAR.php) [function.require-once]: failed to
> open stream: No such file or directory in W:\www\cake\app\vendors
> \Upload.php on line 42
>
> Fatal error: require_once() [function.require]: Failed opening
> required 'PEAR.php' (include_path='W:\www\cake;W:\www\cake\app\;.;/
> usr/
> local/PHP/includes;/usr/local/PHP/pear') in W:\www\cake\app\vendors
> \Upload.php on line 42

You should be able to change you include path in the php.ini, or  
using the ini_set() function.

Just append the path to your PEAR libs to the existing value.

-- John

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to