View previous topic :: View next topic |
Author |
Message |
DeNs n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/199226805841fe08e9798e4.gif)
Joined: 31 Jan 2005 Posts: 2
|
Posted: Mon Jan 31, 2005 10:35 am Post subject: Problems with phpBB setup and mySQL |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
hw-tph l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/37431231840a20aaa902cf.jpg)
Joined: 08 Jan 2004 Posts: 768 Location: Uppsala, Sweden
|
Posted: Mon Jan 31, 2005 10:56 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
DeNs n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/199226805841fe08e9798e4.gif)
Joined: 31 Jan 2005 Posts: 2
|
Posted: Mon Jan 31, 2005 2:14 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|