Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with phpBB setup and mySQL
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
DeNs
n00b
n00b


Joined: 31 Jan 2005
Posts: 2

PostPosted: Mon Jan 31, 2005 10:35 am    Post subject: Problems with phpBB setup and mySQL Reply with quote

G'day.

I've been trying to setup phpBB on Gentoo, without much success so far. I've got Apache working, though i'm having problems even getting the .php files for phpBB to even show up when I try and connect via localhost.

When I chmod 000 index.php, it says that access to it is denied, obviously, but when I change it back to 755, it just comes up with a blank page, with this code:

<html><body></body></html>

Downgrading mySQL was an option, but it's another 11MB to download on dialup, which is frustrating.

Any other ideas to remedy this?

Thanks,
---dens
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Mon Jan 31, 2005 10:56 am    Post subject: Reply with quote

First, have you verified that PHP is enabled and that it works? Create a file /var/www/localhost/htdocs/info.php with these contents:
Code:
<?php
    phpinfo();
?>

Then navigate to http://localhost/info.php and view the output. Don't get a pretty page with lots of info on your installation? Chances are you haven't put this in your /etc/conf.d/apache2:
Code:
APACHE2_OPTS="-D PHP4"

Restart Apache and try viewing the info page again.

I would let MySQL be since I don't think it has anything to do with this so don't start messing with it just yet.


Håkan
Back to top
View user's profile Send private message
DeNs
n00b
n00b


Joined: 31 Jan 2005
Posts: 2

PostPosted: Mon Jan 31, 2005 2:14 pm    Post subject: Reply with quote

Ok thanks. Before I posted I did put the second bit into the conf file (below)

Code:
APACHE2_OPTS="-D PHP4"


It had SSL in there already, but it was creating problems, so it's like what you typed out now.

Yay! The code provided worked. I'm relieved that php works, but annoyed that phpBB doesn't work. I'll give invision a try now and see if that helps, just to see if it's related to that.

Edit: My Invision power board works like a charm, now i've just gotta figure out how to connect to the web server from other PCs on my network.

Thanks,

---dens
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum