or first try the bare minimum:
require_once('jsonRPCClient.php');
$b = new jsonRPCClient('http://KJTetc:MyRpcpass@localhost:8332/');
print_r($b->getinfo());
You'll need a ?> at the end too.
nope that's old-fashioned and against modern recommendations
pretty much any php parser will work just fine without a closing ?> at the end of the file, and leaving it off the end of the file makes it less likely you'll accidentally introduce unwanted whitespace in the output.