The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Pear Mail_mime installed but not available

Discussion in 'E-mail Discussions' started by RamiroS, Mar 11, 2009.

  1. RamiroS

    RamiroS Member

    Joined:
    Aug 23, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Hello, I have this issue

    I've installed Mail and Mail_mime (from PEAR) in one of my domains using cPanel.

    When I include them with require_once() in my php script Mail does work but I get a No such file or directory error.

    I think that Mail works because it was installed previously from the console, to be available for the entire system while Mail_mime was installed only in my account.

    Open base dir options are into the httpd.conf for that domain pointing that /home/mysite/php is part of the path.

    So why PHP doesn't find the path to /home/mysite/php?

    Thanks
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Is /home/mysite/php part of your PHP include path?
     
Loading...

Share This Page