MySQL works fine, Apache works fine, and apache with php works fine. But when I try and do something as simple as this:
<? $connection = mysqlconnect ("localhost","root","theroot")
or die(mysql_error());
if ($connection) {
$msg = "success!";
}
?>
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<? echo "$msg"; ?>
</body>
</html>
I get a blank page. Nothing shows at all. Not even an error message.
The mysql was from the MySQL website RPM's, Apache was already installed, and PHP was from source over what may have been an RPM. I'm running RH7.3.
Any leads would be greatly appreciated.
Thanks,
Patrick