Find the answer to your Linux question:
Results 1 to 6 of 6
Ok, I'm sure one of you guys can help me. Obviously, I'm trying to install a phpbb2 forum on my FC3 Box. I have php installed (whatever version shipped with ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Nov 2003
    Location
    Maryland
    Posts
    105

    Another phpbb question..:(


    Ok, I'm sure one of you guys can help me. Obviously, I'm trying to install a phpbb2 forum on my FC3 Box. I have php installed (whatever version shipped with FC3). I also have MySQL & MySQL-Server installed (Via yum), and I have Apache installed (Shipped with FC3)

    I have created the MySQL database "phpbb" with the username "dan" and appropriate password. It has full permissions on the database. As far as I know, MySQL seems to be running correctly. Also, apache is running correctly, again, as far as I know.

    When I try to install my board I get
    Code:
    An error has occurred during installation
    The PHP configuration on your server doesn't support the database type that you chose
    I also yum'ed php-mysql and I suppose that's installed correctly.

    Any ideas? I can post any config files you might need...

    my installation page looks like this..

    Code:
    Default board language:  English	
    Database Type: 	MySQL 3.x (Is this right?!)
    Choose your installation method: Install	
    Database Configuration
    Database Server Hostname / DSN: localhost
    Your Database Name: phpbb
    Database Username: dan
    Database Password: mypassword
    Prefix for tables in database: 	phpbb_
    Admin Configuration
    Admin Email Address: 	myemail
    Domain Name: DanAtkins.myaddress.com
    Server Port: 80
    Script path: /phpBB2/
    Administrator Username: myusername
    Administrator Password: password
    Administrator Password [ Confirm ]: password
    Sorry if this has been asked before, I did a lot of searching and couldn't quite figure it out....

  2. #2
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    try the command:

    Code:
    mysql -v
    That will tell you what version of MySQL u have, it's probably 4.x.

    Also, to check the intecration of php/mysql qith apache, create a new php file and in it write the following:

    Code:
    <?phpinfo&#40;&#41;;?>
    Then open up the page in aa browser and look for mysql stuff
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  3. #3
    Linux Newbie
    Join Date
    Nov 2003
    Location
    Maryland
    Posts
    105
    Code:
    &#91;root@Fedora html&#93;# mysql -V
    mysql  Ver 11.18 Distrib 3.23.58, for redhat-linux-gnu &#40;i386&#41;
    So it looks like I use version 3.x. Ok.

    The only TWO places that the php script mentioned mysql are:

    Code:
    Configure Command 	'--with-mysql=shared,/usr' '--with-pgsql=shared' '-
    and..

    Code:
    dbx
    dbx support 	enabled
    dbx version 	1.0.0
    supported databases 	MySQL ODBC PostgreSQL Microsoft SQL Server FrontBase Oracle 8 &#40;oci8&#41; Sybase-CT
    Are php and/or apache not seeing my MySQL database/server?? Thanks for your help so far!

  4. #4
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    not too sure wether they are seeing the mysql server or not.

    Have you tried downloading phpMyAdmin? It's a database tool that needs VERY little configuring (all u need to do is enter a password into the config files, or tel it to use http auth) and then it connects to the database, maybe giving that a go would help.

    Or make your own php script that tries to connect to the database.

    Also, have you setup the root password on the mysql server, and definitely have it started?
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  5. #5
    Linux Newbie
    Join Date
    Nov 2003
    Location
    Maryland
    Posts
    105
    I yum updated and it got the new php-mysql deal, and now it all works fine. I think php and mysql weren't seeing each other. Thanks for the help!

  6. #6
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    No probs. Glad it's all sorted
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •