Install Bitnami LAMP Stack directly

January 27, 2016 2.2k views
LAMP Stack PHP DigitalOcean Ubuntu


Is it possible to install a Bitnami LAMP stack directly (without using their launchpad)
I prefer PHP7 and ubuntu and I assume this one has both:

If its possible, what are the SSH commands I should run?


  • Did you just want to update to PHP7 on top of your existing Ubuntu?

    PHP 7.0 was released on December 3, 2015. It promises substantial speed improvements over previous versions of the language, along with new features like scalar type hinting. This guide explains how to quickly upgrade a PHP 5.x installation on an Ubuntu 14.04 system with Apache or Nginx, using community-provided packages.
  • Hi,

    I want to know if its possible do either of following without using Bitnami launchpad.

    • Install LAMP stack with PHP7 and other components included in Bitnami package (i.e. FastCGI, OpenSSL, phpMyAdmin, ModSecurity, SQLite, Varnish, ImageMagick etc.) in a fresh ubuntu server or
    • Install LAMP stack with earlier PHP (I think if I install via Launchpad, it installs Php 5) and other components included in Bitnami package in a fresh ubuntu server, then upgrade the PHP to PHP7

    Any of the above works for me.

    Bottom line is I need following things:

    • PHP7
    • Fresh Ubuntu
    • Include all bitnami components (i.e. FastCGI, OpenSSL, phpMyAdmin, ModSecurity, SQLite, Varnish, ImageMagick etc.).

    I think they have both of the above in here (the link I provided in my first post)

    I just don't know if its possible and how to use them in DigitalOcean.

    Thanks for replying

  • Try getting the installer, found here:

  • How do I install it in DigitalOcean droplet? What are the commands I should run?


  • @addresshr - The closest thing I can think of to match Bitnami is to start off with a 1-click LAMP droplet and then using your preferred package manager (or installed control panel) to install the individual components that match the pre-installed Bitnami packages. It's a pain to figure out which packages match, but you'll end up with a finer control of how much bloat to leave out/in of your system once you do figure this out.

  • warren and gndo, thanks for the answers.
    So here's what I have done so far.

    Then ran the following commands
    chmod 755
    /root/ --mode text

    It installed without any errors.

    Then I read this note about "What are the "development" and "production" modes for applications" in Bitnami Wiki (link provided by warren)
    If my assumption is right, then in the above, I installed a development mode version which means it not as secure as Bitnami's recommended "LAMP Stack 5.5.31-0 (64-bit)"

    So I installed that (i. e. to another fresh Ubuntu 14 x64 and it gave me lot of errors. It didn't occur me to take a screenshot or something of these errors. I'll redo it later and let you know about those errors.

    Im going to try to run that 5.5.31 stack installer in a Debian x64 because that was the OS Bitnami Launchpad used. Maybe I won't get those errors on that.


  • Hey,

    Just tried running this one:

    in fresh Debian 8.2 x64 droplet. I got the same errors I got in Ubuntu 14 x64. Check this screenshot:

    What can I do?


    Turned out it was a insufficient memory problem as stated in the warning I got before installing.
    Tried it with a 4GB Debian 8 droplet and worked like a charm.

  • @addresshr - Also, you may need to create swap space to virtually increase your memory, specially if you use the 1GB droplets.

  • The link you provided gives me 404. But no worries. I googled it and found it.
    Thanks a lot for all you do.

    I think best way now to do what I need is install their recommended LAMP stack and upgrade the PHP.


3 Answers

Check the installer link for the Bitnami LAMP stack:

Then follow the Bitnami instructions - some of which are here

hi i'm new to bitnami. i just downloaded the lamp stack, what is the next step to run the LAMP

  • Answer for your question can be found in one of the above replies. Please check. Thanks

Have another answer? Share your knowledge.