Posted by Jasper Bryant-Greene on 06/25/05 09:54
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?
>
You either need to chown /usr/lib/php to the script's UID (not
recommended) or turn off Safe Mode. The whole point of Safe Mode is that
scripts cannot access files which do not match their UID.
[Back to original message]
|