Hello All,
I've been through heck with this. It's been about 30 days, and I am still stumped. I tried most online "instructs" and "corrections" and was hoping for some real life feedback.
Here is the simplicity of the issue:
1) Running Apache 2.2, PHP 5.2.6, MySQL ? (In my phpMyAdmin, I have a message that displays "Your PHP MySQL library version 5.0.51a differs from your MySQL server version 3.23.32. This may cause unpredictable behavior."
2) My php is running OK, and can parse pages just fine and display all standard php generated functions.
2) Apache is running obviously
3) MySQL is also running OK
Here is what is occurring:
I load the following code, just to test my connection:
<?php
$dbcnx = mysql_connect('localhost', 'root', 'root');
if (!$dbcnx) {
echo '<p>Unable to connect to the ' . 'database server at this time.</p>');
exit();
}
if (!mysql_select_db('bootcamp')) {
exit('<p>Unable to locate the joke ' . 'database at this time.</p>');
}
?>
I get NO errors, and a complete blank white screen in my browser. Actually, I ran a few tests, for example, just added some standard html and a page meta title, and NOTHING reads to the browser - it's as if the entire page is out of commission, and it will just not work! I can load any other php fine. It's only if I attempt a MySQL connection.
Can anyone shed some light on this please?
I have checked my ini and httpd config paths etc several times to ensure they're correct.
I must be missing something.
SOS