473,569 Members | 2,700 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Jul 17 '05 #1
1 6731
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("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


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
3994
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 Linux ES Basic v3 because of the end-of-life statement from RedHat. Basically, this means a change from Apache 1.3 to 2 and PHP 4.1.2 to 4.3.2. ...
0
1501
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 PEAR DB, it's a package of PHP classes that provide an object oriented API with common methods of accessing thirteen of PHP's database driver...
3
2442
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 OK. I could create simple php pages and serve them up. Then I tried to install pear, and things started to be not OK after all. phpinfo() told me...
8
2550
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 found in the pear manual to work: require_once "HTML/Table.php"; Warning: main(HTML/Table.php) : failed to open stream: No
3
1536
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 PEAR. Is part of PEAR build into PHP, so you can assume it will be available? or if you want to use ANY of it, you have to install it by issuing UNIX...
5
14222
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
1358
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'; $db = DB::connect('mysql://penguin:top^hat@db.example.com/restaurant'); if (DB::isError($db)) { die("Can't connect: " . $db->getMessage( )); } ?>
2
4542
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"); include("./Mail/mime.php");
0
3206
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 scripts -- http://www.phpmaniac.net/wiki/index.php/Pear_Mail#Sending_to_multiple_recipients -- I was able to send html emails with no problem. ...
0
7698
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8122
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7673
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5513
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.