Tuesday, August 26, 2014

New Nginx stack with PHP and MySQL (LEMP)



We are happy to announce that the Bitnami Nginx Stack has been released. Also known as LEMP, WEMP and MEMP for Linux, Windows and OSX respectively, it provides a ready to run environment with the Nginx Web Server, PHP and MySQL.


The stack includes the following primary components:
  • Nginx Web server (1.6.1)
  • MySQL database server (5.5.38)
  • PHP-FPM (5.4.31)
  • phpMyAdmin web application management tool for the MySQL database (4.2.7.1)

In addition to these components, it includes:
  • Varnish proxy cache server (optional)
  • ImageMagick tool
  • SQLite database
  • XDebug module
  • Memcache module
  • APC module
  • GD library
  • OpenSSL library
  • CURL library
  • OpenLDAP library
  • PEAR and PECL package manager tools

Nginx is a small but very powerful and efficient web server and mail proxy. It is trusted but many of the busiest sites on internet, such as WordPress, Facebook and Dropbox. It is an asynchronous server and its main advantage is scalability. In a process-based server, each simultaneous connection requires a thread. This incurs significant overhead. An asynchronous server, on the other hand, is event-driven and handles requests in a single (or at least, very few) threads, consuming less RAM in busy environments.

The Bitnami Nginx Stack is also configured with PHP-FPM (FastCGI Process Manager), an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.

The Bitnami Nginx Stack is available for free from the Bitnami app store as a native installer or virtual machine for local development, or as a cloud template for the Amazon and Windows Azure cloud computing platforms.

Once the installation process has been completed, you can access the welcome page from your browser at http://localhost on Windows or http://localhost:8080 on OS X or Linux.

We documented more details and more features of the Bitnami Nginx Stack in our Quick Start Guide. You can also check here how to install WordPress on an Nginx Cloud Image.

Do you have questions? We will be happy to help you at our community forum!


5 comments:

  1. I'm pretty certain this is related, but using OS X 10.10 Yosemite, I'm having the same issues as mentioned in this Bitnami entry: -
    https://community.bitnami.com/t/mysqld-doesnt-start-in-mac-os-yosemite/25153/6

    ReplyDelete
  2. Yes, this worked for me: -

    For MEMP the workaround is add "unset DYLD_LIBRARY_PATH" to the beginning of "/Applications/mempstack-version/mysql/scripts/ctl.sh"

    #!/bin/sh
    unset DYLD_LIBRARY_PATH

    Then restart MYSQL, works a treat.

    ReplyDelete
  3. Thanks for posting it, we are working on fixing it for next versions.

    ReplyDelete
  4. I've been trying to use the NGINX stack on Windows 8.1 for wordpress development but it is extremely slow and there is no documentation on speed performance modifications nor tuning.

    ReplyDelete
    Replies
    1. Hi Eric, can you post to our community forums (https://community.bitnami.com)

      Delete

Please use our community forum if you have any questions community.bitnami.com