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 
Installation difficulties

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Installation, Upgrading & Configuration
View previous topic :: View next topic  
Author Message
sjones1



Joined: 25 May 2008
Posts: 3

PostPosted: Sun May 25, 2008 6:40 am    Post subject: Installation difficulties Reply with quote

Hello, I am trying to run PEAR Mail, however when submitting the mail form I get:

Warning: require_once(mail.php) [function.require-once]: failed to open stream: No such file or directory in (removed)/send.php on line 7

Fatal error: require_once() [function.require]: Failed opening required 'mail.php' (include_path='.:/usr/lib/php') in (removed)/send.php on line 7

I have shared hosting through HostRocket, however they say that PEAR is already installed on the server.

Can anyone suggest a reason why this might not work? I have spent ages googling with no avail.

Thanks for you help!
Back to top
View user's profile Send private message
mark



Joined: 07 Jan 2007
Posts: 1011

PostPosted: Sun May 25, 2008 9:39 am    Post subject: Reply with quote

It's Mail.php, not mail.php. (These names are only on Windows systems equivalent.)
Back to top
View user's profile Send private message
sjones1



Joined: 25 May 2008
Posts: 3

PostPosted: Sun May 25, 2008 9:45 am    Post subject: Reply with quote

Hi Mark,

Thanks for the speedy reply. After making that change, however, I now get:

Warning: require_once(Mail.php) [function.require-once]: failed to open stream: No such file or directory in (removed)/send.php on line 7

Fatal error: require_once() [function.require]: Failed opening required 'Mail.php' (include_path='.:/usr/lib/php') in (removed)/send.php on line 7

Any further ideas?
Back to top
View user's profile Send private message
mark



Joined: 07 Jan 2007
Posts: 1011

PostPosted: Sun May 25, 2008 12:19 pm    Post subject: Reply with quote

The Mail package isn't installed then. You can either ask your host to install it, or install PEAR and the Mail package yourself (explanations can be found on pear.php.net).
Back to top
View user's profile Send private message
sjones1



Joined: 25 May 2008
Posts: 3

PostPosted: Sun May 25, 2008 12:26 pm    Post subject: Reply with quote

Thanks mark,

but the hosting provider assures me that they have installed it.

They say version 1.1.14 is active and the path to php applications is /home/aurhaorg/php.

Any further ideas on why this might not be working for me??? Smile
Back to top
View user's profile Send private message
mark



Joined: 07 Jan 2007
Posts: 1011

PostPosted: Sun May 25, 2008 12:32 pm    Post subject: Reply with quote

sjones1 wrote:
but the hosting provider assures me that they have installed it.

They say version 1.1.14 is active and the path to php applications is /home/aurhaorg/php.


The last sentence is an important information that you hadn't mentioned yet. In this case, you'll just need to add this directory to your include_path setting.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Installation, Upgrading & Configuration 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

'Actiemonitor' online projectmanagement software