php.ini disabled functions
I have tested to make sure the exec command is working by creating a php script under the client1 website it seems to be working fine. Here is the script I wrote:
<?
$ping_ex = exec("ping -c2 google.com", $ping_result, $pr);
if (count($ping_result) > 1){
echo "ping online - response";
foreach($ping_result as $key => $val) {
echo "{$ping_result[$key]} <br />";
}
} else {
echo 'ping offline - response';
}
?>
I get a valid response and it displays the ping for me.
Anything else you can think of that would prevent ISPConfig from being able to execute commands?
|