Re: PEAR in safe_mode

From: Date: Sat, 21 Jul 2001 21:01:04 +0000
Subject: Re: PEAR in safe_mode
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-937@lists.php.net to get a copy of this message
> > Our system administrator told me today, that he is having enourmous > > problems setting up PEAR on a system that uses safe mode. The problem > > is, that the user, who is executing the script that uses PEAR, isn't > > allowed to access /usr/local/lib/php (where the PEAR files reside) due > > to the safe mode limitations ("The script whose uid is xxxx is not > > allowed to access ..."). IIRC there was also a report some weeks > > ago on php-dev about the same problem. > > > > How should this be handled? > > I guess php.ini should have a "safe_mode_allowed_include_dirs" option. > I'll see what I can do about that. This was added recently. See php.ini-dist: ; When safe_mode is on, UID/GID checks are bypassed when ; including files from this directory and its subdirectories. ; (directory must also be in include_path or full path must ; be used when including) safe_mode_include_dir =

« previous php.pear.dev (#937) next »