😕
MySQL works fine, Apache works fine, and apache with php works fine. But when I try and do something as simple as the following the page displays nothing. Not even a minor error, just a blank page:
<? $connection = mysqlconnect ("localhost","user","password")
or die(mysql_error());
if ($connection) {
$msg = "success!";
}
?>
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<? echo "$msg"; ?>
</body>
</html>
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