Results 1 to 2 of 2

Thread: PHP Pear Extension Installation Problems - Mail_Mime-1.8.2

  1. #1
    Join Date
    Nov 2011
    Posts
    1

    Angry PHP Pear Extension Installation Problems - Mail_Mime-1.8.2

    I sent in a support ticket only for them to tell me they have no idea what to do. I need to install two PHP PEAR packages. They are Mail-1.2.0 and Mail_Mime-1.8.2. Mail has been installed and seems to be working fine. The problem is Mail_Mime. It does not seem to work correctly I have no idea why.

    As you can see going to http://sw6.us/phptest1.php gives an error. This file has the following code
    PHP Code:
    <?php
        
    require('/home2/mwtwoone/php/Mail.php');
        require(
    '/home2/mwtwoone/php/Mail/mime.php');
    ?>
    As you can see we are requiring both packages. Mail.php and mime.php, giving us an error. Now as we take out the call for mime.php


    http://sw6.us/phptest2.php Gives us a blank page with no errors. This file has the following code
    PHP Code:
    <?php
        
    require('/home2/mwtwoone/php/Mail.php');
    ?>
    What is wrong with the installation? I installed both packages straight from the cPanel.

    I think this has something to do with the php paths. I have been working for hours now and can not find a solution, HELP!

  2. #2
    Join Date
    Aug 2012
    Posts
    1

    Default

    I have the same issue. The error occours right in "require" of mime. If I only use Mail, works fine, but with mime i got the error:
    include(Mail/mime.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory

    I`m use that way:

    include('Mail.php'); // works fine
    include('Mail/mime.php'); // throws the error

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •