| View previous topic :: View next topic |
| Author |
Message |
sjones1
Joined: 25 May 2008 Posts: 3
|
Posted: Sun May 25, 2008 6:40 am Post subject: Installation difficulties |
|
|
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 |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1011
|
Posted: Sun May 25, 2008 9:39 am Post subject: |
|
|
| It's Mail.php, not mail.php. (These names are only on Windows systems equivalent.) |
|
| Back to top |
|
 |
sjones1
Joined: 25 May 2008 Posts: 3
|
Posted: Sun May 25, 2008 9:45 am Post subject: |
|
|
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 |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1011
|
Posted: Sun May 25, 2008 12:19 pm Post subject: |
|
|
| 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 |
|
 |
sjones1
Joined: 25 May 2008 Posts: 3
|
Posted: Sun May 25, 2008 12:26 pm Post subject: |
|
|
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???  |
|
| Back to top |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1011
|
Posted: Sun May 25, 2008 12:32 pm Post subject: |
|
|
| 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 |
|
 |
|