Re: Pear on a shared host problem

From: Date: Sun, 28 Dec 2003 15:13:57 +0000
Subject: Re: Pear on a shared host problem
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9838@lists.php.net to get a copy of this message
Thanks for the suggestion, I have tried using the full path, I've actually got to the point where I've put it at the same level as my web site. Permissions are at least 755 all the way down the path http://experiencecurve.com/phptest/rss2.php Warning: main(XML/RSS.php): failed to open stream: No such file or directory in /home/virtual/site22/fst/var/www/html/phptest/rss2.php on line 20 Fatal error: main(): Failed opening required 'XML/RSS.php' (include_path='.:/php/includes:/usr/share/php:/var/www/html/pear/lib') in/home/virtual/site22/fst/var/www/html/phptest/rss2.php on line 20 Karl On 12/28/03 7:46, "Pierre-Alain Joye" <paj@pearfr.org> wrote: > On Sat, 27 Dec 2003 11:23:18 -0500 > Karl Long <karl@karllong.com> wrote: > >> The code: >> <?php >> >> ini_set('include_path', >> ini_get('include_path').':~/pear/lib'); >> >> ?> > > the tilde is set using the current user. Un this case, the user under > which the http server runs, it does not have a home folder in most > standart installations or it runs under nobody which does not have an > home folder. > You may define it using absolute path. Check if the http user has the > permission to read your home folder(/home/karlw for instance:)). > > hth > > pierre -- network: http://www.ryze.com/?a=mrkook blog: http://experiencecurve.com/competition/ aim|yim: kar11ong

« previous php.pear.general (#9838) next »