+31

Planning to create my own development environment on my ubuntu desktop 9.10. How to install apache web server, php and it's plugins for apache and mysql database?

4 answers, +31 votes, 415 views
Visitor's picture
asked by Visitor
18 weeks 4 days ago



4 Answers

  • don't think it will work on 9.10 cuz i tried and it diddent work. If you serious of doing this than install the server edition

    - Visitor 18 weeks 3 days ago
  • Answer
    +2

    Open a terminal and run the following

    sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server mysql-admin php5-mysql libapache2-mod-auth-mysql phpmyadmin

    This will install apache2, php, apache php module and mysql for you all in one shot
     

    Visitor's picture
    answer by Visitor
    18 weeks 4 days ago
    Answer
    0

    Aww man, forget all that apt-crap headache. Ubuntu is Linux for human beings! All you gotta do is type
    sudo taskel
    You'll be prompted for your password, then given a list of all kinds of server configurations. Pick LAMP and hit next. It will install everything for you.
    Ah thank you.

    Visitor's picture
    answer by Visitor
    18 weeks 2 days ago
    Answer
    +1

    Using Karmic, there's a esay way to do this:
    sudo apt-get install lamp-server^
    That's all! Enjoy your LAMP server :-)
    Oh, I forgot, maybe you have to setup your DirectoryIndex parameter in your apache configuration, in order to recognize index.php

    Visitor's picture
    answer by Visitor
    17 weeks 5 days ago
    Answer
    0

    Here is a step-by-step tutorial about installing LAMP (LAMP stands for: Linux Apache MySQL PHP) in Ubuntu.

    alexandrug's picture
    answer by Alex
    5 weeks 3 days ago

    Asked by

    Visitor's picture
    Visitor

    View in your own language!