ispCP - Board - Support
system tools overview - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: system tools overview (/thread-1149.html)



system tools overview - Keen - 08-13-2007 02:07 AM

In subject menu i have following warning:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/openprom/SUNW,UltraSPARC@0,0/ecache-size) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/proc/:/var/www/virtual/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/var/log) in /var/www/ispcp/gui/include/phpsysinfo/common_functions.php on line 332

As i know, this can be only if my system complied on SPARC processor, but i have PIII.
What should i do to resolve this problem?
Thanks.


RE: system tools overview - kilburn - 08-13-2007 05:36 PM

Add "/proc" to the open_basedir directive in this domain's php.ini


RE: system tools overview - Keen - 08-14-2007 07:00 AM

/proc is added, but i don't have /proc/openprom/......
So i get this errors. Why phpsysinfo assumes that my system is SPARC?


RE: system tools overview - raphael - 08-14-2007 08:05 AM

feel free to contact phpsysinfo's author (if you do so, you could also ask him to add a GPL exception for ispCP, otherwise we won't be able to ship it with ispCP).


RE: system tools overview - Bassmann - 08-20-2007 09:34 PM

Keen Wrote:/proc is added, but i don't have /proc/openprom/......
So i get this errors. Why phpsysinfo assumes that my system is SPARC?

Did you add ":/proc" or ":/proc/" ?

":/proc/" does already exist in ispcp's installed phpX.ini. And now i don't have errors anymore after changing ":/proc/" to ":/proc". Can you check this please?

Even when the directory is empty it does work (openvz environment).

Bassmann


RE: system tools overview - raphael - 08-21-2007 07:34 AM

Quote:changing ":/proc/" to ":/proc"
that should make no difference. The ending slash is to prevent accessing to directories like /procesors /procsomething


RE: system tools overview - Bassmann - 08-24-2007 08:55 PM

raphael Wrote:that should [...]

But it works. Can you check this please? I'm using OpenVZ + ISPCP.


RE: system tools overview - raphael - 08-25-2007 08:11 AM

Quote:Can you check this please?
what do you want me to check? this is related to PHP as the PHP interpreter; won't do anything there.

In any case you might want to report a bug at bugs.php.net and see what they tell you