last night i got a weird php error log. i have never seen this before on my server and i dont know what it means.
I really appreciate if you know about it.
[10-Nov-2010 01:48:08] PHP Warning: popen() has been disabled for security reasons in /usr/lib/php/OS/Guess.php on line 247
[10-Nov-2010 01:48:08] PHP Warning: fgets() expects parameter 1 to be resource, null given in /usr/lib/php/OS/Guess.php on line 248
[10-Nov-2010 01:48:08] PHP Warning: pclose() expects parameter 1 to be resource, null given in /usr/lib/php/OS/Guess.php on line 256
[10-Nov-2010 01:48:43] PHP Warning: popen() has been disabled for security reasons in /usr/lib/php/OS/Guess.php on line 242
[10-Nov-2010 01:48:43] PHP Warning: fgets() expects parameter 1 to be resource, null given in /usr/lib/php/OS/Guess.php on line 243
[10-Nov-2010 01:48:43] PHP Warning: pclose() expects parameter 1 to be resource, null given in /usr/lib/php/OS/Guess.php on line 252
what is that guess.php ? and why i am getting error ?
thank you
The file
Guess.php
belongs to the PHP PEAR Module OS_Guess, used to retrieve information about the current operating systemThe messages you are receiving tell you that:
popen() is used to open communication to another process and is disabled in many setups for security considerations. The other errors you receive are follow-up errors because popen() did fail.
See the php.net/popen for more details on this function.