Search code examples
phpapachesymfonyubuntulamp

LAMP server - one command?


I've been reading around the last couple of days to figure out virtual machines and LAMP/WAMP/XAMP and everything else....and wanted to ask one question regarding when it comes to installing the apache/SQL/PHP applications - I've just come across the following command:

sudo apt-get install lamp-server^

...does this do the same thing as this whole walk-through that I've been been through a few times (as I'm trying to get Symfony set up)?

https://help.ubuntu.com/community/ApacheMySQLPHP

Thanks! Ben


Solution

  • Quoted from the website you have provided:

    To install the default LAMP stack in Ubuntu 10.04 and above:

    $ sudo apt-get update
    
    $ sudo apt-get install lamp-server^
    

    So, yes. That does the trick. The rest of the website is when you wish to install just apache2 for example. Or want to setup LAMP in specific ways.