pear mime manual installiation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Xaver Biton

    pear mime manual installiation

    Hi,

    my internet provvider doesn' have support for pear and I tried the manual
    Installation as in the installation manual but when I call the script


    <?php
    ini_set("includ e_path", '/var/www/web576/html/includes/' . PATH_SEPARATOR
    ..
    ini_get("includ e_path"));
    require_once "Mail/mime.php"
    ?>


    I ricieve the following error:



    Warning: main(): open_basedir restriction in effect.
    File(/usr/lib/php/PEAR.php) is not within the allowed path(s):
    (/var/www/web576/) in /var/www/web576/html/includes/Mail/mime.php on line 38

    Warning: main(PEAR.php): failed to open stream: Operation not permitted in
    /var/www/web576/html/includes/Mail/mime.php on line 38

    Fatal error: main(): Failed opening required 'PEAR.php'
    (include_path='/var/www/web576/html/includes/:.:/usr/lib/php') in
    /var/www/web576/html/includes/Mail/mime.php on line 38

    In my home Server, with the same installation give this error message:

    Fatal error: Failed opening required 'Mail/Mime.php'
    (include_path='/srv/www/includes/PATH_SEPARATOR. :/usr/share/php') in
    /srv/www/htdocs/mime.php on line 3


  • Phil Roberts

    #2
    Re: pear mime manual installiation

    With total disregard for any kind of safety measures "Xaver Biton"
    <javier@t-online.de> leapt forth and uttered:
    [color=blue]
    > Hi,
    >
    > my internet provvider doesn' have support for pear and I tried
    > the manual Installation as in the installation manual but when I
    > call the script
    >
    >
    > <?php
    > ini_set("includ e_path", '/var/www/web576/html/includes/' .
    > PATH_SEPARATOR
    > .
    > ini_get("includ e_path"));
    > require_once "Mail/mime.php"
    > ?>
    >
    >
    > I ricieve the following error:
    >
    >
    >
    > Warning: main(): open_basedir restriction in effect.
    > File(/usr/lib/php/PEAR.php) is not within the allowed path(s):
    > (/var/www/web576/) in
    > /var/www/web576/html/includes/Mail/mime.php on line 38
    >
    > Warning: main(PEAR.php): failed to open stream: Operation not
    > permitted in /var/www/web576/html/includes/Mail/mime.php on line
    > 38
    >
    > Fatal error: main(): Failed opening required 'PEAR.php'
    > (include_path='/var/www/web576/html/includes/:.:/usr/lib/php')
    > in /var/www/web576/html/includes/Mail/mime.php on line 38
    >
    > In my home Server, with the same installation give this error
    > message:
    >
    > Fatal error: Failed opening required 'Mail/Mime.php'
    > (include_path='/srv/www/includes/PATH_SEPARATOR. :/usr/share/php')
    > in /srv/www/htdocs/mime.php on line 3
    >
    >
    >[/color]

    You need to download PEAR.php and add it to the same directory as
    Mail/Mime.php. Nearly all PEAR packages depend on the base PEAR
    classes which are contained within PEAR.php

    --
    There is no signature.....

    Comment

    Working...