Knowledge Base

How to change PHP settings

PHP settings control how PHP applications run. Common examples include upload size, memory limit, execution time, and error display.

Need to change a PHP setting?

Please contact Idea Comindo support through the client portal. Include the domain or subdomain, the PHP setting you need changed, the value you want, and why you need the change. Our support team will make the change for you.

  1. Open the Idea Comindo client portal and create a support ticket.
  2. Tell us the domain or subdomain, the setting name, and the requested value. Example: upload_max_filesize = 64M and post_max_size = 64M for a database import.
  3. After support confirms the change, test the upload, import, or page that previously failed.

Common PHP settings

  • upload_max_filesize: the largest single file PHP will accept from an upload form.
  • post_max_size: the largest total form request PHP will accept. This should usually be equal to or larger than upload_max_filesize.
  • memory_limit: the maximum memory a PHP request can use.
  • max_execution_time: how long a PHP script may run before timing out.
  • display_errors: whether PHP errors are shown in the browser. Keep this off on production websites unless support asks you to enable it temporarily.

Before changing settings

  1. Confirm which domain or subdomain needs the change.
  2. Check the application requirement, plugin requirement, or import/export size.
  3. Use the smallest value that solves the problem. Very high limits can make a website slower or easier to overload.
  4. After the setting is changed, test the upload, import, or page that previously failed.

For database imports in phpMyAdmin, both upload_max_filesize and post_max_size must be large enough. For larger databases, ask support to import the database from the command line instead of using browser upload.

Please rate this article to help us improve our Knowledge Base.

0 0