Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Quail_Linux on March 30, 2005, 07:03:12 AM
-
Hi All,
I am having a problem with a script i am trying to get going. It is a script that reads my boinc client XML file.
and this is the errors i am getting at the moment:
Mar 30 13:57:00 hal2000 httpd: PHP Warning: fopen(): open_basedir restriction in effect. File(/home/boinc/client_state) is not within the allowed path(s): (/home/e-smith/files/ibays/Primary) in /home/e-smith/files/ibays/Primary/html/boinc.php on line 170
Mar 30 13:57:00 hal2000 httpd: PHP Warning: fopen(/home/boinc/client_state): failed to open stream: Operation not permitted in /home/e-smith/files/ibays/Primary/html/boinc.php on line 170
As i have not written this script, It does say "XML parsing MUST be enabled on the PHP server" and i have looked around how to do this but no luck here.
This script is available from:
http://one.zer0x.net/~rjsilvers/scripts/php/phpboinc/
Any help to get this up and running i will be very greatful for, cause it feels like i bashing my head against a brick wall at the moment.
TiA
-
Oh i forgot to add i do have these packages already installed
libxml2-2.4.19-4.i386.rpm
perl-XML-Parser-2.30-15.i386.rpm
-
Read this thread:
http://forums.contribs.org/index.php?topic=21553.msg96929#msg96929
For more use SEARCH box.
Search for basedir, open_basedir.
-
Read this thread:
http://forums.contribs.org/index.php?topic=21553.msg96929#msg96929
For more use SEARCH box.
Search for basedir, open_basedir.
Hi PicsOne
Thanks for that thread, this:
/sbin/e-smith/db accounts setprop <ibayname> PHPBaseDir /home/e-smith/files/ibays/<ibayname>/:/tmp
/sbin/e-smith/signal-event ibay-modify <ibayname>
fixed my problem :-D