Within the advanced tools of the hosting service, you will find the option Configure PHP, where you can modify different PHP directives to adjust your hosting to the requirements requested by some CMS applications. These values vary depending on the hosting plan you have contracted.
1.- PHP Version
From this option you can modify the PHP version to the one that best suits your needs.
2.- Memory and execution time
Two of the PHP directives you can modify are Memory_limit and Max_execution_time. These two directives are among the most important, as most CMS applications or internal programmable processes require time and memory for successful completion.
You can temporarily (for 1 hour) increase the memory limit and execution time to 512 MB and 300 seconds. This increase allows you to carry out heavy content imports, update the CMS or perform installations on the hosting.
Once this functionality is activated, you can monitor the remaining real-time availability.
Note: increasing these values may generate excessive resource consumption on the hosting; if cdmon technicians determine that it may compromise the server’s optimal stability and speed, they will reduce these values to maintain the service.
3.- File upload and variables via POST and GET
The Upload_max_filesize and Post_max_size directives can be increased to upload templates, components or plugins with a weight greater than the preset values.
Max_input_vars: maximum number of variables allowed in GET, POST and COOKIE requests.
See more information
4.- Session variables
These variables allow you to modify the time of the programming variables that regulate sessions for validated users on the website to control the session duration.
Session.cookie_lifetime: lifetime of the cookie sent to the browser; if set to 0, it is unlimited.
See more information
5.- Other PHP directives
Finally, you can change the allow_url_fopen directive to adapt it to your application, while the display_errors directive allows you to disable error messages generated by the hosting service to hide them when necessary.
Allow_url_fopen: allows accessing files via URL using functions such as Fopen, Require, Include.
See more information Display_errors: determines whether errors should be displayed on screen or hidden.
See more information
Related Articles
How to manage our web hosting
With the "Control Panel" of the web hosting, you can manage your hosting comfortably. The panel is made up of a section with hosting information and different sections with tools. To access the management panel of the hosting, in the "Basic list of ...
How to set up White Label Panel (Management)
Server domains In the accommodation ofcdmonyou have a white mark panel so that you can give access to another user and allow them to manage the hosting. The advantage of this dashboard is that the user you provide access will only be able to manage ...
What is PHP Legacy and how does it affect your hosting at cdmon
Many websites run on PHP, whether they use a CMS such as WordPress, Prestashop, Joomla or Moodle, or whether they are custom-developed. If your website generates dynamic content (for example, loads products, processes forms or displays changing ...
How to set up subdomains in web hosting
A subdomain is a word written before the domain (for example: photos.mydomain.com, where photos is a subdomain of mydomain.com), in order to categorize web content or services. The cdmon subdomain service allows you to create subdomains that point to ...
How to modify the PHP version
If the server where your hosting is located is compatible with the service, you can follow the instructions below to modify the PHP version and assign the desired version to work with. Keep in mind that PHP versions without official support (EOL) are ...