Location: PHPKode > scripts > rConfig > rconfig/www/install/lib/ajaxHandlers/ajaxPhpCliCheck.php
<?php

$output = shell_exec('php -m | grep ctype');
$output = rtrim($output);

if ($output == "ctype") {
	$response = '<strong><font class="good">PHP-CLI Installed</font></strong>';
} else {
	$response = '<strong><font class="bad">PHP-CLI is not installed or working</font></strong>';
}

echo json_encode($response);

?>
Return current item: rConfig