Re: SAFEMODE w/ PEAR

From: Date: Sat, 25 Jun 2005 11:37:51 +0000
Subject: Re: SAFEMODE w/ PEAR
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-217605@lists.php.net to get a copy of this message
Ashley M. Kirchner wrote:
I'm having a small problem with SAFE MODE and PEAR that I'm unsure how to solve: [error] PHP Warning: raiseerror(): SAFE MODE Restriction in effect. The script whose uid is 524 is not allowed to access /usr/lib/php/PEAR.php owned by uid 0 in /path/to/script/Lite.php on line 470 How should that get solved? Everything in /usr/lib/php is owned by root.root and just about everyone wants access to the PEAR library, but SAFE MODE won't allow it?
Administrator should put this to php.ini: safe_mode_include_dir = /usr/lib/php

« previous php.general (#217605) next »