Re: Please help with PEAR

From: Date: Fri, 09 Jan 2004 16:54:40 +0000
Subject: Re: Please help with PEAR
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10091@lists.php.net to get a copy of this message
I had this problem on a shared host, you need to add this to your include path: /home/sites/2027931811/www/web/ Here's an example what I had to put at the beginning of my code for it to find the right php file: <?php ini_set('include_path', ini_get('include_path').':/home/virtual/site22/fst/var/www/html/pear/lib'); ?> On 1/8/04 14:40, "Rolf Berkenbosch" <rolf@berkenbosch.nl> wrote: > Hi All, > > If I try to run a php script with mail function. It give me the > following error: > > Warning: Unknown(/home/sites/2027931811/www/web/tset.php): failed to > open stream: Permission denied in Unknown on line 0 > Warning: (null)(): Failed opening > '/home/sites/2027931811/www/web/tset.php' for inclusion > (include_path='.:/usr/share/pear') in Unknown on line 0 > > If I run the php as root then there is no problem. > > Please help, > > Rolf Berkenbosch > KDIS > -- network: http://www.ryze.com/?a=mrkook blog: http://experiencecurve.com/competition/ aim|yim: kar11ong

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