PEAR manual installation in a web hosting environment.
| From: | Gr�gory Barborini | Date: | Thu, 08 Jan 2004 22:46:02 +0000 |
| Subject: | PEAR manual installation in a web hosting environment. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-10065@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to install PEAR and the mime package manually in a web hosting
environment.
But it seems that my 'include_path' is wrong (or something like that...).
Here's the things I've done:
1-downloaded the PEAR and mime package.
2-Uploaded the files ('PEAR.php' , a folder 'Mail' which contains
'mime.php','mimeDecode.php' and 'mimePart.php') in a folder
'includes'.
3- I run 'test.php'
//here's the code
<?php
ini_set("include_path", '/www/includes' . PATH_SEPARATOR .
ini_get("include_path"));
require_once "Mail/Mime.php"
?>
4-and here's the error message :
"Warning: main(Mail/Mime.php): failed to open stream: No such file or
directory in /home/burgergr/www/test.php on line 3
Fatal error: main(): Failed opening required 'Mail/Mime.php'
(include_path='/www/includes:.:/usr/local/lib/php') in
/home/burgergr/www/test.php on line 3"
If someone has a solution he is welcome !
Thanks
gregb