To perform the necessary configurations, press the Config button next to your application server. In the case you have several application servers you can configure them together or separately. To do this follow the steps:
- Open the drop-down menu at the top of the configuration tab. It includes the list of all of the app servers in your environment.
- Choose the one you need and make the configurations.
- To apply the changes:
- only for the chosen server click Save only for the current instance button from drop-down menu;
- for all the servers click Save for all instances.
For the Apache application server the main configuration file is the httpd.conf located in the conf folder. For example, by using it, you can perform the following actions:
The number of workers for processing PHP requests is increased automatically in an Apache server depending on the cloudlet amount you stated for it.
To check this find and remember the MaxClients value (in httpd.conf file).
After that, change the topology of your environment by increasing or decreasing the cloudlet limit for your server. Return to the conf > httpd.conf file. As you can, see the number of MaxClients has increased/decreased.
The conf.d folder is used for storing and managing sub configs.
The webroot folder is used for storing the unpacked application deployed to the environment.
App servers include a cron folder with the config file where cronjobs can be configured.
Detailed information on Cronjob configuration can be found in the Setting Up a Cronjob document.
The keys directory is used as a location for uploading any private key which is needed for your application. Generate the key, save it as a simple file and upload to the key folder. Now you can use it for different cases by simply stating the path to your key:
The modules folder contains the php modules available in Jelastic by default. You can also upload your custom php modules to this folder, in order to activate them.
For more information navigate to PHP Modules document.