PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Fatal error: Class 'PEAR' not found in D:\Domains\mysite.com

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> What do you miss in/about PEAR?
View previous topic :: View next topic  
Author Message
salsabil



Joined: 19 Oct 2010
Posts: 1

PostPosted: Tue Oct 19, 2010 12:15 pm    Post subject: Fatal error: Class 'PEAR' not found in D:\Domains\mysite.com Reply with quote

i have a problem with include_path.
i have no access to my php.ini and i used :
Code:
ini_set('include_path', ini_get('include_path'));

on top of my code but it didn't change
i used
Code:
echo __FILE__;

i saw the direction of the file was :
D:\Domains\mysite.com\wwwroot\mailer.php
then i used :

Code:
ini_set('include_path', ".;D:\Domains\mysite.com\wwwroot/pear/PEAR/");


but it can't find pear class in socket.php when it exit.
it is the same about other packages and they can't find pear class in a php file.
in socket.php .. pear.php is required like this :
Code:
require_once 'PEAR.php';


error :

Fatal error: Class 'PEAR' not found in D:\Domains\mysite.com\wwwroot\pear\PEAR\Net\Socket.php on line 47

if you can please help.
thanks in advance.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> What do you miss in/about PEAR? All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement