phpbb2 and localhost web servers, can it work?

Last night I installed the EasyPHP web server onto my computer and then I tried to install phpbb2 (php bulletin board - phpbb.com) to a folder in the root directory (www). Extracting the phpbb2 files into the folder was no problem. But, when I went to install and set up phpbb2 (from my browser), all I would get is database errors. No matter what database I selected, ie. MySQL 3.x, 4.x, ODBC, etc., I got an error message stating “unable to configure php for the selected databases”. Anyone have any idea what I might be doing wrong?

I should also mention that I tried to set up a simple news script, Elite News, and that also did not work.

Should I just try another web server package or what? I don’t have a web hosting provider yet, so I really want to work on my scripting locally.

Did you actually install MySQL ? Because it’s kinda logical that it doesn’t work if you ain’t got it installed …


in youre prompt window do this
type > C:\mysql\bin\mysqld --install
type > netstart mysql

than try it again :)

well, the EasyPHP system tray icon had MySQL as running :confused:

do a check.

prompt window type
type -> c:\mysql\bin
type -> mysql show

if running it will.

(ps. installing apache/ mysql / php is real simple wont take much of ure time )

“unable to configure php for the selected databases”.

You sure you selected the right db ?

Pretty sure. MySQL 4.x. Besides, I tried every single one.

I did this and here’s the error that I got: ERROR 2003: Can’t connect to MySQL on ‘localhost’ (10061)

I really don’t know what this means. I must admit I’m a complete newbie to setting up web servers.

Here’s my goal: to set up a local web server to test out scripts such as Elite News and PHP Bulletin Board. I’m designing a web site for my army unit here in Baghdad and the computer on which I am working is never connected to the internet. I’m using the internet on a desktop in my unit’s computer center. So I want to set up the website locally on my laptop and test it and make sure it works, etc. Then, I’ll upload it to an actual web hosting provider.

So can you or anyone give me a step by step tutorial on how to go about this? Or point me to a good online tutorial? I’ve tried setting up 3 different web server packages (EasyPHP, WAMP, Apache2Triad) and I can’t get phpbb to work in any of them.

Uninstall them all, and try this tutorial: http://www.ricocheting.com/server/index.html

It’s always worked for me :slight_smile:

Thanks very much man, but right before I read your reply I found ApacheFriends (apachefriends.com) and got phpBB to work. However, I also realized it wasn’t the web server package that was the problem; Apachefriends’ very user-friendly setup made me realize that I actually had to create a mysql database for phpbb to point to. duh :frowning: But, I now have a new problem which I will start another thread for :wink:

Thanks for all your help guys! I consider this thread conclusive :slight_smile: