You are here: Re: SAFEMODE w/ PEAR « PHP « IT news, forums, messages
Re: SAFEMODE w/ PEAR

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация