NGINX is a fast and lightweight HTTP server, which is widely used by developers across the world. It is highly customizable due to the modular structure, which simultaneously allows utilizing just the required functionality, ensuring efficient resource usage.
Jelastic PaaS customizes and optimizes NGINX to provide it as a PHP application server fully compatible with the platform functionality. Compared to the Apache PHP, it is more suitable for handling websites with static content, but due to the FastCGI support can process complex scripts as well.
To create NGINX server for PHP application hosting, follow the steps in the detailed instruction below.1. Log into the Jelastic dashboard and click the New Environment button to access the topology wizard.
2. On the PHP engine tab, choose NGINX as your application server and configure other parameters (like cloudlets or environment region) up to your needs.
Click Create to proceed.3. After creation, click Open in Browser next to the NGINX server:
4. You will see the server’s phpinfo data by default.
The next step will be to deploy your PHP application.