View Single Post
  #3  
Old 2nd August 2011, 21:08
pitchinnate pitchinnate is offline
Junior Member
 
Join Date: Apr 2007
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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?
Reply With Quote