GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 20-Sep-2006, 17:05
Flyan Bryan Flyan Bryan is offline
New Member
 
Join Date: Sep 2006
Posts: 6
Flyan Bryan is on a distinguished road

Would like some advice.


Greetings, very new to Apache(today in fact, just got my site up). I am wanting to add a Forum to my website. But I don't have a clue what to do. Tried to install YaBB, but everytime i "turned on the module" the server wouldn't start up. I would delete that line in the config file and server start great.

Do I need to "install" PhP(XP_SP2) to use YaBB? If so, How?

What is the easiest forum to setup/get running on the new appache2 server?

Really silly questions I know...please help if ya can.
  #2  
Old 21-Sep-2006, 09:44
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 733
admin will become famous soon enough

Re: Would like some advice.


Hello Flyan Bryan,

First, it will help us a lot if you tell us more about your server. Is the 'server' your PC, or is it some remote, shared hosting account somewhere.

It's hard to tell just from reading your post.
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
  #3  
Old 21-Sep-2006, 10:06
Flyan Bryan Flyan Bryan is offline
New Member
 
Join Date: Sep 2006
Posts: 6
Flyan Bryan is on a distinguished road

Re: Would like some advice.


I definitely posted this to soon. I spent the rest of yersterday goin thru tutorials and actually installing php5 and mySql4.1. I actually got the initial screen on the phpBB2 interface to show up, then ran into issues with local host/password issues and some message about mySql module blah blah, (srry it was a late and I was fed up, lol).

Ok, if you could I would really appreciate any help and am willing to do pretty much whatever ya ask me to do/read.

This is a server I have setup downstairs to store music on for my home network. I am running windows 2000 NOT WinXP like i thought(feels silly). My ISp is blocking my port 80 so I have to route it thru port 8001 but am able to connect to my website.

Does putting :8001 after localhost(localhost:8001) work the same as if it was "just" localhost?

What php version should I go with? Have 5 right now and when I setup a test folder and "test.php" it worked.

What version of MySql should I go with for least amount of problems? I have 4.1 right now but downloaded 3.1 last night before I went to bed.

I am willing to start from scratch, but have provided the error messages I am recieving right now(see below) in case this install can be salvaged.

Where I am at right now.

I can reach the phpbb2/index.php configure page. I then fill in all the info that is asked and recieve the following error messages.

ERROR MESSAGES

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'admin'@'localhost' (using password: YES) in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Wera\phpBB2\db\mysql4. php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Wera\phpBB2\db\mysql4. php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Wera\phpBB2\db\mysql4. php on line 331
phpBB : Critical Error

Could not connect to the database


In the database server hostname I have "127.0.0.1" (no port, do I need to tell it port 8001 instead of 80? when I add the 8001 I time out on the webpage)

OK, so if you have stopped laughing

Any ideas or should I start from scratch or am I almost there?
  #4  
Old 21-Sep-2006, 10:50
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 733
admin will become famous soon enough

Re: Would like some advice.


I am still using PHP 4 myself and I don't know much about version 5 except that it exists. PHP 5 is fine...

MySQL 4.1 is also what I personally have installed on my PC and on this server. You definitely DON'T want to use version 3!

If you have set up a web server on your home network, and your ISP has port 80 blocked, don't use the Internet to connect to the web server. It's unnecessary unless you want people from the outside accessing your web server as well.

I have absolutely no experience/knowledge about Networking but I think you can at least edit your HOST file to point it to the right machine within your Network of computers?
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
  #5  
Old 21-Sep-2006, 11:18
Flyan Bryan Flyan Bryan is offline
New Member
 
Join Date: Sep 2006
Posts: 6
Flyan Bryan is on a distinguished road

Re: Would like some advice.


I want it accessible for friends and family, so I need the net connection.

Currently I am at the following stages.

Uninstalled EVERYTHING lol
-apache
-mySql
-PhP
-deleted folders/rebooted

Installed the following package:

Web-Developer Server Suite, for Windows
http://www.devside.net/

Supposedly everything is supposed to be configured, I'll find out...

Currently getting the original website back up then onto the forum issue.

I'll post back with what happened, if it works easy it might be a solution for a lotta new people.
  #6  
Old 21-Sep-2006, 11:24
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 733
admin will become famous soon enough

Re: Would like some advice.


Yes, please update the thread with any useful information you can share. I might learn something new too.

Your plan is good too -- get a regular web page working, then a simple PHP script, then one that connects to the MySQL server successfully and once everything seems to be working the way it's supposed to be working, you can proceed with installing a pre-made script like phpBB.
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
  #7  
Old 21-Sep-2006, 13:01
Flyan Bryan Flyan Bryan is offline
New Member
 
Join Date: Sep 2006
Posts: 6
Flyan Bryan is on a distinguished road

Re: Would like some advice.


Ok hope this doesn't get to winded. I am going to try to retrace most the steps which led to me getting a forum up and running(but not quite complete still working on how to customize my forum.)

Ok I first tried to do this all manually and failed miserably, got kinda close but without knowing ANYTHING about how to setup a webserver/forum I couldn't tell how close i was.

The package I finally found will install, apache2, mySQL4, and php5(i think 5 not sure maybe 4). I installed phpBB2 seperately but was very easy to do. SO if you have any remnants of these programs like I did from failed installs, uninstall everything and go thru and delete the folders. Not sure if this makes a diff, but it sure don't hurt.

Download this package

Web-Developer Server Suite, for Windows
http://www.devside.net/

I also used many diff websites in the past 24 hours but the two below seemed to help the most with what I finally decided to do.

This one just talks about apache and what to do if you run into service issues(i did and had to uninstall and reinstall the service from the command line to get a good error message, with this i was able to correct my services issue)NOTE: Where it says to type APACHE, type HTTPD instead. ie...httpd -k install

larechercheDOTservice-public.fr/manual/platform/windows.html

This one walks you thru the phpBB2 setup, was VERY helpful to me. Read it all and do pretty much what it says.

wwwDOTdevside.net/guides/windows/phpbb

Ok if ya run into problems, I don't know much but I did get mine goin so post away.

EDIT: Ok no idea why but the full URL's to the above webpages are not showing up just replace the DOT with a .
  #8  
Old 21-Sep-2006, 14:40
Flyan Bryan Flyan Bryan is offline
New Member
 
Join Date: Sep 2006
Posts: 6
Flyan Bryan is on a distinguished road

Re: Would like some advice.


Still not quite there, now I am running into a problem with users registering and my smtp email server not being setup. I have no idea of where to start with this. Do I use my ISP smtp server? or since I have a machine can I run my own? I dont own a domain yet so not sure if I need a domain to setup my own email server. Any help appreciated.
  #9  
Old 21-Sep-2006, 17:15
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 733
admin will become famous soon enough

Re: Would like some advice.


Yes, use your ISP's smtp setting. Place that in the php.ini file. I've discussed this in the past, let me search for it... http://www.gidforums.com/t-11288.html.
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
  #10  
Old 21-Sep-2006, 17:51
Flyan Bryan Flyan Bryan is offline
New Member
 
Join Date: Sep 2006
Posts: 6
Flyan Bryan is on a distinguished road

Re: Would like some advice.


Ty kindly!
 
 

Recent GIDBlog2nd Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is this a good price? need advice. serverside Web Hosting Forum 11 13-Oct-2006 04:16
New to OO need advice weeb0 CPP / C++ Forum 2 26-Jan-2006 08:03
Need advice on a disturbing problem JUNK KED Open Discussion Forum 6 31-Mar-2005 13:51
I need some anti-hacking advice! slayerbeatch Open Discussion Forum 6 16-Feb-2005 16:59
HELP! I need advice jmb Web Design Forum 3 25-Mar-2003 03:21

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:27.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.