Results 1 to 3 of 3

Thread: can't make mysql server work

Hybrid View

  1. #1
    Join Date
    Oct 2012
    Beans
    3

    can't make mysql server work

    Hi guys. I have finally moved away from OS-X. After a few days of unsuccessful attempts I was finally able to install apache2, php5 and I almost got mysql. I've managed to start apache2 and mysql. Both can be stopped/started or/and restarted from the /etc/init.d/...

    The first issue I'd like to work on is to be able to see any mysql modules when testing the php server with the "phpinfo()" function. Currently there isn't any mysql module displayed.

    The second issue is related to accessing phpmyadmin (that I installed using synaptic).

    When I go to http://localhost/myphpadmin -- I get this error: " The mysqli extension is missing. Please check your PHP configuration.
    ----

    Things I've tried :

    I changed and enabled the "mysqli.allow.onfile" in the php.ini file (with no success)
    I changed and enabled the "extension=mysql.so" to "mysqli" (with no result).

    ----

    I was wondering if somebody could walk me really quickly through the process of connecting mysql server to the php. My Ubuntu version is 12.0.4. Thank you very much in advance.
    Last edited by muzycales; October 9th, 2012 at 07:21 PM.

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: can't make mysql server work

    Have you installed php5-mysql ?

    Also it shouldn't take days to set up a LAMP server, you only need one command on a fresh installation to install Apache, MySQL and PHP:
    Code:
    sudo apt-get install lamp-server^
    Last edited by Cheesemill; October 9th, 2012 at 10:34 PM.
    Cheesemill

  3. #3
    Join Date
    Oct 2012
    Beans
    3

    Re: can't make mysql server work

    Quote Originally Posted by Cheesemill View Post
    Have you installed php5-mysql ?

    Also it shouldn't take days to set up a LAMP server, you only need one command on a fresh installation to install Apache, MySQL and PHP:
    Code:
    sudo apt-get install lamp-server^
    Hi Cheesemill

    Thank you for your answer. I've finally managed to install the three servers. Unfortunately it took me more than three days. I got a bunch of random errors and because this was the first time I've installed lamp I did it wrong -for a few times. But the good news is that I've finally managed to have lamp running and it's beautiful. I love it. Thanks much.

Bookmarks

Posting Permissions

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