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:
1. 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.
2. Choose the one you need and make the configurations.
3. To apply the changes:
Note: if you create/rename a file or folder in the Configuration manager, this will be applied only in the list of the chosen node. You can’t save this change for all of the app servers available in the environment. If you want to also create/rename the file or folder in the other servers you need to do this manually.
Below you can see the list of the configuration files available for editing in the PHP application servers:
Click on the links to get more information on which settings can be changed in the appropriate folders.
The main PHP server configurations are performed in the php.ini file which is located in the etc folder.
For example, here you can set the required:
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:
Note: In order to perform any custom configurations in the httpd.conf file, you need to remove the #Jelastic autoconfiguration mark string at the beginning of the file:
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 httpd.conf file – the number of MaxClients has increased/decreased.
Note: This functionality will be disabled if you remove the # Jelastic autoconfiguration mark string at the start of the httpd.conf file
For performing necessary configurations for an NGINX-PHP server the nginx.conf file, located in conf folder, is used. Use it to set up the following configurations:
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 CirrusGrid 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.
Powered by BetterDocs
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.