MyBB Community Forums

Full Version: Windows MyBB installation help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to install MyBB on my computer, which I plan on using as a webserver (duh).

OS is Windows Vista Business
Webserver is Apache 2.2
have PHP5 and MySQL5 installed

And when I run the /forums/install/index.php thing, it gives this:
http://two.xthost.info/rhainor/img/MyBB%20problem.png

I get the feeling that PHP and MySQL aren't talking to each other.

Any help here?
You can check and see if the MySQL extension is loaded.

Make a file called test.php and put it on your server, with the following code.

<?php
if(function_exists('mysql_connect'))
{
echo "MySQL Is Installed!<br />";
}
else
{
echo "MySQL is not installed.<br />";
}
if(function_exists('mysqli_connect'))
{
echo "MySQLi Is Installed!";
}
else
{
echo "MySQLi Is Not Installed";
}
?>

This file will test and see if MySQL and MySQLi is compiled in PHP.

If MySQL returns installed then PHP and MySQL are talking with each other, if not then you've got to configure PHP to talk to MySQL. You only need MySQL to return true, MySQLi is recommended though.

Remember, since this is a server issue this is the furthest I can help you but it is not an internal MyBB Issue, and I do not directly know how your webserver is set up or under what environment it is running under.

I suggest going to the http://www.php.net and http://www.mysql.com websites and looking for further information.
Did the test, both returned false.

I've been to PHP.net and MySQL.net, all I got was a headache -- well, I got the two DLLs for the MySQLi extension, and put 'em where it told me to, and added the relevant lines to PHP.ini...still nothing. Do I need to restart or something for it to take effect?
You should restart the server to load the extensions.
That did the trick, it's working fine now.

Thanks for helping out the idiot. Wink
Well.
the simplest solution.

USE Xampp which already comes with php5.x with MySQL 5.x with a phpMyAdmin, Even FTP. That all for free! Well. I loved that package.

Well. Go to google and try to search for "Xampp" and Download and install it's almost 200MB software. But One of my favorite software Pack till now Wink

FAISAL!
Faisal Shah Wrote:Well.
the simplest solution.

USE Xampp which already comes with php5.x with MySQL 5.x with a phpMyAdmin, Even FTP. That all for free! Well. I loved that package.

Well. Go to google and try to search for "Xampp" and Download and install it's almost 200MB software. But One of my favorite software Pack till now Wink

FAISAL!

Little late, buddy, I've had it working for months.
Better latter then never, thanks for that information fellow, i was just about going to google "apache for windows" when i read your post Smile So i guess will be easier to download a pack.