lempstack | Answers

LEMP stack (Linux, Nginx, MySQL/MariaDB, PHP/Python/Perl) related tutorials, news, and resources. Contact us to have your site included.

server { listen [::]:80; listen 80; server_name example.com www.example.com; return 301 https://example.com$request_uri; }

View Question
1 Vote Selected

The E in LEMP comes from the pronunciation of Nginx: Engine-X (en-juhn-ecks). The importance is the sound of the first letter rather than its written representation. Besides, LEMP is actually pronounceable...

View Question
1 Vote

You'll want a server block listening on 443: listen 443 ssl; And assuming you have the certificate and key files already, you'll reference them in that block with: ssl_certificate /srv/ssl/example.com,chained.crt;...

View Question
0 Votes

This server block uses the listen directive to accept requests on port 80 and supports IPv6. server { listen [::]:80; listen 80; server_name lemp.io www.lemp.io; # and redirect to the https...

View Question
0 Votes

Assuming MySQL or MariaDB are installed, setting up phpMyAdmin is quite easy. sudo apt-get install phpmyadmin You’ll be asked if you’d like to configure the database and will be prompted to enter your...

View Question
0 Votes

If you need to enable a module that's already installed, you can use php5enmod: php5enmod mcrypt This will take care of activating the module without the need on your part to manually create symlinks....

View Question
0 Votes

You can install the latest stable build of Nginx by using a PPA. sudo add-apt-repository ppa:nginx/stable sudo apt-get update sudo apt-get install nginx If you want to try something even newer you can...

View Question
0 Votes

You can uninstall the typical core components via apt-get: apt-get purge apache2 mysql php.* apt-get autoclean apt-get autoremove

View Question
0 Votes

LEMP stacks are variations of the well known LAMP stack used for developing and deploying web applications. Traditionally, LAMP consists of Linux, Apache, MySQL, and PHP. Due to its modular nature, the...

View Question
0 Votes