Op mijn plesk installatie wil ik cacti installeren om vervolgens de statistieken uit te lezen. Na een volledige installatie zie ik de volgende foutmelding:
Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/snmpget) is not within the allowed path(s): (/stats/httpdocs:/tmp) in /stats/httpdocs/lib/snmp.php on line 205
Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/snmpget) is not within the allowed path(s): (/stats/httpdocs:/tmp) in /stats/httpdocs/lib/snmp.php on line 205
Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/snmpget) is not within the allowed path(s): (/stats/httpdocs:/tmp) in /stats/httpdocs/lib/snmp.php on line 205
Na wat gezocht te hebben lijkt het probleem duidelijk. De directory /stats/httpdocs/ heeft geen rechten tot de verschillende locaties. Nu zou ik graag een uitzondering willen maken voor deze directory, namelijk dat hij wel de rechten heeft tot /usr/bin/snmpget , /usr/bin/snmpget , etc. Weet iemand hoe je dit configureerd?
Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/snmpget) is not within the allowed path(s): (/stats/httpdocs:/tmp) in /stats/httpdocs/lib/snmp.php on line 205
Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/snmpget) is not within the allowed path(s): (/stats/httpdocs:/tmp) in /stats/httpdocs/lib/snmp.php on line 205
Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/snmpget) is not within the allowed path(s): (/stats/httpdocs:/tmp) in /stats/httpdocs/lib/snmp.php on line 205
Na wat gezocht te hebben lijkt het probleem duidelijk. De directory /stats/httpdocs/ heeft geen rechten tot de verschillende locaties. Nu zou ik graag een uitzondering willen maken voor deze directory, namelijk dat hij wel de rechten heeft tot /usr/bin/snmpget , /usr/bin/snmpget , etc. Weet iemand hoe je dit configureerd?
http://www.xbmcfreak.nl/