Increase PHP configuration values

Ver en Español

If you are using the Appyn theme, and importing APK or ZIP files, it is important to know that the PHP configuration values ​​must be optimal. As of version 2.0.6, in the Appyn panel you will find a section where it indicates the recommended values ​​for its correct operation.

Sometimes when an imported file exceeds the upload_max_filesize directive or the execution time of a script (max_execution_time) is too short to what is needed and that causes an error message to be displayed. What will be needed is to modify these values. Here we mention three options:

Contact your Hosting support

This is the most practical way. Contact your hosting company and ask them to increase the following values:

allow_furl_open = On
max_execution_time = 300
max_input_time 300
memory_limit = 4G
upload_max_filesize = 4G
post_max_size = 4G

Edit the .htaccess file manually

Use the file manager of your panel provided by your Hosting. This file is located in the root of the WordPress installation. Do not edit what is already written originally, just add the following lines at the end of everything and save the file.

php_value max_execution_time 300
php_value max_input_time 300
php_value memory_limit 4G
php value upload_max_filesize 4G
php_value post_max_size 4G

From cPanel

If you are using cPanel, you can increase these values ​​directly from there. Enter MultiPHP INI Editor.

Select your domain, make the changes for each option as written just now, and click the “Apply” button.

Important

The allow_url_fopen option must be enabled. This can be done from cPanel. If in case you cannot make the change, you should contact the support of your hosting so that they can help you.

Leave a Reply

Your email address will not be published. Required fields are marked *