Page 1 of 1

Installing PhPBBx on XXAMP

PostPosted: 24. August 2007 04:26
by dilauro
I have XAMPP installed and running on my Windows machine. I want to install phpbb2 to start a discussion data base. Following the instruction from PhP, I should just be able to point to the install directory and use install.php
or index.htm. Index.htm just gives the browse DONE message and install.php loads php code but not useable.

Is there any special way to load phpbb code?

I was using Miniportal server and was able to load the PhpBB code.

PostPosted: 24. August 2007 06:29
by Izzy
Your post is a bit vague so until exactly what you are attempting to achieve is established one can only hazard a guess.
So please try and give as much detail as possible along with a copy of any error messages.

What happens when you type in your browser's address bar?
http://locahost/phpbb2/install.php

Thats if you put the phpBB2 directory in the xampp\htdocs directory:
xampp\htdocs\phpbb2

What happens when you type in your browser's address bar?
http://localhost/

=================================================
Take a look at the new DeskTopXampp launch control posted by ridgewood:
http://community.apachefriends.org/f/viewtopi ... 967#103967

The DeskTopXampp launch control for XAMPP and XAMPPlite (DTX.exe)
is available here:
http://zedfiles.com/DTX/

I highly recommend DTX.
=================================================

Re: Installing PhPBBx on XXAMP

PostPosted: 24. August 2007 14:38
by skuipers
dilauro wrote:Is there any special way to load phpbb code?

No, there is nothing special in running phpbb on Xampp. I have done it for many years now without any problem.

If you used to run phpbb on Miniportal the installation path of phpbb might now be different. If phpbb is not installed in /htdocs you will have to define an alias in httpd.conf.

Installing PHPBB2

PostPosted: 24. August 2007 15:29
by dilauro
Ok, pointing my browser to http://localhost/phpbb2/install.php
started the bulletin board package install after providing default information, at the INSTALL button, I received the error message could not connect to the data base

The message:
A Could not connect to the database error means that you didn't enter the database data correctly and it is not possible for phpBB to connect. Make sure that everything you entered is in order and try again. Again, if you are unsure about your database settings, please contact your host.

Would indicate that there is no database to connect. I am trying to build the first phpbb2. What is it trying to connect to? I gave a new name (ie RONFORUM) and everything I take as defaults

PostPosted: 24. August 2007 15:49
by skuipers
But is your MySQL active? Can you run phpmyadmin?

PHPBB install

PostPosted: 24. August 2007 16:46
by dilauro
Yes I can run MySQL and PhPMYadmin works fine also

For starters, I am an very experienced pc person, I support many local and wide area networks, but I am just learning the MySql, PHP envrionment. I have several web data bases that I maintain for many people, but thi sis something new for me.

So, please ask me anything, i am sure its something in my user setup

I've moved other HTML files into htdocs and from a web site point , that function is fine.

Installing PhPBBx on XAMP

PostPosted: 24. August 2007 20:41
by dilauro
I think I may be getting closer. I went to install PhPBB3 instead of version 2. This time, when I get the Critical Error, I see that SQL can not connect to the user name I identified in the panels (ie myname @ localhost)

I know need to verify my SQL installation and setup.. It starts fine, but I am looking for some post verifications.

I am hoping that using the MSI Installer for XAMP was all I needed to do.
Looking at //localhost after the install, all the components are listed as installed.

PostPosted: 24. August 2007 20:56
by outlaw
It wont connect if the "myname" isnt an actual user for mysql...

So make sure the user and password is valid.
(either try "root" with a blank pass or create a new user in phpmyadmin -> privileges)

Also be sure to use an existing database name, or make a new database for it the forum
(phpmyadmin -> new database)

phpbb install

PostPosted: 26. August 2007 21:20
by dilauro
Once I used username = root and no password, phpbb3 installed fine, thank you

PostPosted: 27. August 2007 13:13
by skuipers
Probably because root with no password was the default, left over from the XAMPP installation (when the security script is not run).

Outlaw is correct that the user/password to be used must already be known in the MySQL database. I did a test with phpbb3 this weekend and found the same results.