Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Pear Mail_mime installed but not available

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

  1. RamiroS

    RamiroS Member

    Joined:
    Aug 23, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    151
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,565
    Likes Received:
    43
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Is /home/mysite/php part of your PHP include path?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice