phpgroupware-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-users] open_basedir restriction


From: Chris Weiss
Subject: Re: [Phpgroupware-users] open_basedir restriction
Date: Tue, 30 Sep 2003 12:01:55 +0000

safe mode doesn't have to be on to use the open base dir restrictions.  The 
About
errors seem odd, some debugging needs done, possibly relitive path includes 
when we
should always use the fill path?

ATS needs to be able to verify the exsitsance of the php binary so it can add 
it to
the #! for the php shell script that cron will run.  And it needs to to be able 
to
exec crontab to add the cron job.  You may be able to get around this one by 
copying
the binaries to somewhere in your base dir restriction but still outside the 
web root.


Brian Connolly (address@hidden) wrote:
>
>
>A few days ago, I reported: Warning: file_exists(): open_basedir restriction
>in effect.  File is in wrong directory...'
>
>By way of background, it's php 4.3 and safe mode is off.
>
>It happens in two areas only.  When I hit "About" and "Asynchronous timed
>services".  The error messages are below.
>
>The provider asks if there is a patch or possibly a missing module.
>
>Thoughts?
>
>Brian
>
>
>ABOUT
>
>Warning: file_exists(): open_basedir restriction in effect.
>File(/functions.inc.php) is not within the allowed path(s):
>(/home/literati:/usr/lib/php:/usr/local/lib/php:/tmp) in
>/home/literati/public_html/egroupware/phpgwapi/inc/functions.inc.php on line
>434
>
>Warning: file_exists(): open_basedir restriction in effect.
>File(/footer.inc.php) is not within the allowed path(s):
>(/home/literati:/usr/lib/php:/usr/local/lib/php:/tmp) in
>/home/literati/public_html/egroupware/phpgwapi/inc/footer.inc.php on line 39
>
>ASYNCHRINOUS TIMED SERVICES
>
>Warning: is_executable(): open_basedir restriction in effect.
>File(/usr/bin/php) is not within the allowed path(s):
>(/home/literati:/usr/lib/php:/usr/local/lib/php:/tmp) in
>/home/literati/public_html/egroupware/phpgwapi/inc/class.asyncservice.inc.ph
>p on line 562
>
>Warning: is_executable(): open_basedir restriction in effect.
>File(/usr/bin/php) is not within the allowed path(s):
>(/home/literati:/usr/lib/php:/usr/local/lib/php:/tmp) in
>/home/literati/public_html/egroupware/phpgwapi/inc/class.asyncservice.inc.ph
>p on line 574
>
>Warning: is_executable(): open_basedir restriction in effect.
>File(/usr/bin/php4) is not within the allowed path(s):
>(/home/literati:/usr/lib/php:/usr/local/lib/php:/tmp) in
>/home/literati/public_html/egroupware/phpgwapi/inc/class.asyncservice.inc.ph
>p on line 562
>
>Warning: is_executable(): open_basedir restriction in effect.
>File(/usr/bin/crontab) is not within the allowed path(s):
>(/home/literati:/usr/lib/php:/usr/local/lib/php:/tmp) in
>/home/literati/public_html/egroupware/phpgwapi/inc/class.asyncservice.inc.ph
>p on line 562
>
>Warning: is_executable(): open_basedir restriction in effect.
>File(/usr/bin/crontab) is not within the allowed path(s):
>(/home/literati:/usr/lib/php:/usr/local/lib/php:/tmp) in
>/home/literati/public_html/egroupware/phpgwapi/inc/class.asyncservice.inc.ph
>p on line 574
>
>
>
>
>
>
>_______________________________________________
>Phpgroupware-users mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/phpgroupware-users
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]