Ok, I've found it.
Going to the IIS management, I changed the Directory security so that the access is Anonymous, but through a norman domain account and not the default IUSR_machinename account
Since this my local machine, and just for testing, it's ok. But if I'd want to use IUSR_machinename, I still don't know which security settings I'd have to change, maybe put it on administrators so that it can access everything? A little risky, I imagine...
I need some help. I have Apache2, PHP4 and phpsysinfo 2.3. I am sure my php works in Apache (other php pages work), but still when I surf to my phpsysinfo page, it gives 500 Internal Server Error. What could be possibly wrong?
I Guess apache can't access (security or not availble) the WMI Com object
Hmm, do I need to edit the configs somehow? Like this line in class.WINNT.inc.php?
$this->wmi = new COM("WinMgmts:\\\\.");
If so what would I need to put in there?
And should I edit my Windows settings somehow?
I feel like a complete noob :P
here some more info on WMI: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/wmi_start_page.asp
Hope this helps, if not:
1. wait till Longneck (creator op WINNT class) replies or email him ;)
2. Feel free to try another approach (by me) http://stats.qme.nl/phpsysinfo.phpsysinfo23.zip