473,320 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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("include_path", '/var/www/web576/html/includes/' . PATH_SEPARATOR
..
ini_get("include_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
Jul 17 '05 #1
1 6708
With total disregard for any kind of safety measures "Xaver Biton"
<ja****@t-online.de> leapt forth and uttered:
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("include_path", '/var/www/web576/html/includes/' .
PATH_SEPARATOR
.
ini_get("include_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


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.....
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Louis Aslett | last post by:
Hi, I am extremely stuck trying to port a PHP app from one server to another while making use of the PEAR Mail_mimeDecode package. We have just upgraded from RedHat 7.x to RedHat Enterprise...
0
by: Analysis&Solutions | last post by:
Greetings: Crack open the beer, PEAR DB 1.6.0 is here! (Hey, I'm a bit giddy with excitement that my intense work during the past seven weeks has come to fruition.) For those unfamiliar with...
3
by: Ron King | last post by:
When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL installed correctly. I could serve web pages, MySQL worked, and when I tried the phpinfo() function, I got a page that looked...
8
by: red | last post by:
I have PHP Version 5.0.1 installed on my computer, and according to the pear manual pear is already installed. But how do I tell if it is installed ? for example, how do I get this line, which I...
3
by: elektrophyte | last post by:
If your site is on a shared host and you don't have shell access so you have to just kind of use whatever they got, you can't install PEAR modules, right? This is one thing that confuses me about...
5
by: Jim Michaels | last post by:
I downloaded a PEAR module, but it came with this XML file and a PHP file. I figure I just include the PHP file somehow, but what do I do with the XML file?
3
by: Charles | last post by:
I installed PHP with PEAR support on my Windows computer. I tried the snippet of the book "Learning PHP5": <?php error_reporting(E_ERROR | E_WARNING | E_PARSE); echo "test"; include 'DB.php';...
2
by: lawpoop | last post by:
Hello all -- I'm having a problem getting images to appear in the body of an HTML email using PEAR's mail_mime class. Here's my code, what am I doing wrong? include("Mail.php");...
0
by: kronus | last post by:
Hey everyone, I am stumped once more and you guys have always helped in one way or the other. I am just now starting to fool around with using PEAR to send html emails. Following the sample...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.