The Apache HTTP Server (“httpd“) is an open-source project of the Apache Software Foundation, developed for the variety of modern operating systems including UNIX, Microsoft Windows, Mac OS/X, and Netware. As a robust, commercial-grade, and freely-available HTTP (Web) server, it provides HTTP services since the foundation in 1995.
Jelastic PaaS adopts the Apache solution to create a secure, efficient, and scalable server for the PHP hosting in the cloud. To get your Apache PHP server, follow the steps below:
- Log into your Jelastic account and click New Environment at the top.
Type your environment name and click Create.
3. Once the environment is created, you can click the Open in Browser button next to the Apache application server:
4. Within the opened default page, you’ll see your server’s phpinfo data.
Now, you can deploy your PHP application into the environment.
While using Apache as a PHP application server, there are some default settings and restrictions you may want to adjust. For example, the size of the files, which can be uploaded to your application, is 2MB. Make the following configurations to increase this limit:
1. Click the Config button for your Apache server to access the configuration file manager:
2. Open the /etc/php.ini file (available through the Favorites shortcut) and locate the next parameters:
- upload_max_filesize – maximum size of files, which can be uploaded to the server (2MB by default)
- post_max_size – maximum size of the POST data that PHP will accept (8MB by default)
3. Don’t forget to Save the changes and Restart Nodes of your application server to apply new settings.