On Sat, 2007-01-27 at 19:57 +1300, Gordon Stewart wrote: > On 1/27/07, Ski Dawg <[EMAIL PROTECTED]> wrote: > > On Sat, 2007-01-27 at 14:26 +1300, Gordon Stewart wrote: > > > The error message is :- > > > > > > Quote: > > > Fatal error: main() [function.require]: Failed opening required > > > 'Mail.php' (include_path='.:/usr/local/lib/php') in /hermes/web09/ > > > etc... > > > > > > Does the error message mean I need to find the exact pathname for the > > > PEAR files ? > > > > I would guess, that the PEAR package, Mail, is not installed on the > > server. The default install of PEAR does not include many of the > > available PEAR packages. > > Ok, > > but i think pear mail is installed :- > > http://www.powweb.com/knowledgebase/read_article.bml?kbid=2644 > > do I need to know the exact path of the installed Pear files ? & > include a line at the top of the script ? (eg like CGI/Perl ?) > > if the answer is no (to the above) - i'll send an email to the support > crew (no reply to the forum..)
I am not sure at this point. I would just be guessing since I am not familiar with PowWeb's setup. Normally, when PEAR is installed, it is included in PHP's include path (set in php.ini). On both my CentOS and Fedora systems, when I installed the Mail PEAR package, it was installed into /usr/share/pear/Mail/ but I am not sure how standard that is. If this doesn't help, I would contact PowWeb's support to confirm that it is installed on your server. If it is, I would ask them if it can be included in PHP's include path, or what path you need to use to include it in your files. Sorry, I couldn't be more help. -- Doug Registered Linux User #285548 (http://counter.li.org) ---------------------------------------- Random Thought: If you didn't get caught, did you really do it?
