Re: PEAR in safe_mode
| From: | nloboek at e35203 dot upc-e dot chello dot nl | Date: | Wed, 18 Jul 2001 22:54:24 +0000 |
| Subject: | Re: PEAR in safe_mode | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-874@lists.php.net to get a copy of this message | ||
In php.pear.dev, you wrote:
>Hi,
>
>seemingly there are some problems when using PEAR with PHP's safe_mode
>enabled:
>
>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?
Let him chmod the files to user nobody (or whatever user the scripts are
owned by). Pear is owned by root (or whatever user that is allowed to install
php), might be a good idea to look at this and see if it could be owned by
the default web user.
Regards,
Hans
--
http://phpreview.nl.linux.org