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
PHP basic information
PHP (Hypertext Preprocessor) is a widely used server-side programming language for developing dynamic web applications. Our hosting plans and servers are optimized to run web applications that use PHP, such as WordPress, Prestashop, and many others. ...
How to hide PHP errors in WordPress
The PHP errors you often see on your WordPress site are usually notices and warnings. WordPress uses PHP as its programming language, and sometimes code notices and warnings may appear in different parts of the website. In this guide, we show you how ...
How to manage our web hosting
With the web hosting "Control Panel", you can easily manage your hosting. The panel consists of a section with hosting information and different sections with tools. To access the hosting management panel, in the "Basic service list", click on the ...
How to reduce wp-cron.php consumption
WordPress has scheduled tasks such as checking for WordPress, plugin, or theme updates, creating backups, performing pingbacks, etc. These tasks are usually triggered when someone visits the website, for example. This is why it does not pose a ...
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 ...