MyBB Community Forums

Full Version: Database connect fails with blank screen during install
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am attempting to install MyBB on my own servers (not hosted).
Server is Win2003 With Apache, latest PHP and MySql.

At the database configuration, clicking NEXT gives me
a blank screen. (no errors reported)

In the ../inc/db_mysql.php file under
"// Connects to the database server"
at about line 30 there is this statement that aparently errors out.

$this->link = @mysql_connect($hostname, $username, $password) or $this->dberror();

No message is returned and the function does not call dberror()

If I create a test file using:
$link = mysql_connect($hostname, $username, $password);
I can establish a connection to the database.

Anyone else seen this?
Thanks but that was already tried.

I did however find out that the Zend engine needed turned on in
the php.ini file.

Edit the php.ini file found in the Windows directory.
Change the compatibility mode from Off to On

; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
zend.ze1_compatibility_mode = On

Save the php.ini and restart apache or IIS