I should put a check in to make sure that the exec function is accessible as well. What you can do is make a quick and dirty php file, and then bring it up in your browser.

PHP Code


<?php

if (function_exists('exec')) {
  echo "Yes, exec() is availalbe.";
} else {
  echo "No, exec() is not available.";
} // end if

?>