n8w Posted May 6, 2007 Share Posted May 6, 2007 I am trying to configure PEAR ... but I keep gettiing this error Fatal error: main() [function.require]: Failed opening required 'Cache/Lite.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') The installation said Note: To use PEAR without any problems you need to add your PEAR Installation path (/home/username/public_html/PEAR/PEAR) to your include_path. How do I do that? thanks! Link to comment https://forums.phpfreaks.com/topic/50220-changing-local_path/ Share on other sites More sharing options...
suppawok Posted May 16, 2007 Share Posted May 16, 2007 i have similar question. I had program that used amazon_services and also uses cache_lite which my host (im on shared host) installed. It worked fine. Then I decide to move the program to a new folder. I don't think it was because i moved it, but i am getting same error that it can't the Cache/Lite.php. check out ncbookexchange.com and click on a book and u can see error.... The cache/lite.php I think is on the actual server, not my hosting account. So can i assume its the main server, not my own actions that is bringing this error? Thanks a ton!... im losing a lot of activity (for my standards anyways) because of this. thanks a lot for any help! -luper Link to comment https://forums.phpfreaks.com/topic/50220-changing-local_path/#findComment-254101 Share on other sites More sharing options...
suppawok Posted May 16, 2007 Share Posted May 16, 2007 bump b/c its a real question would my error be my own fault or server side? Link to comment https://forums.phpfreaks.com/topic/50220-changing-local_path/#findComment-254409 Share on other sites More sharing options...
trq Posted May 16, 2007 Share Posted May 16, 2007 Take a look at the set_include_path() function and examples. Link to comment https://forums.phpfreaks.com/topic/50220-changing-local_path/#findComment-254518 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.