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!