Question

LEMP environment use for production

Posted February 26, 2014 4.2k views
Is it safe to use LEMP as a production environment or should it be separated, e.g., [nginx+ php] + [MySQL]?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
4 answers
This doesn't make any sense. Those things are separated. LEMP just means they're all installed on the machine. So yes, use it.
Alex, you are correct. What I meant to ask is it okay to install all those components on the same machine to be used as a production server.

Is that a good practice though?
It's safe, yes. It's probably safer to host them on one box and have them listen on the loopback interface than hosting them on two.

However, you might need to separate them for redundancy purposes or horizontal scaling.
Submit an Answer