How to change PHP settings

Increase limits such as memory or maximum upload size.

cPanel1 min read

Steps

  1. Open Select PHP Version

    In cPanel, go to Software → Select PHP Version.

  2. Open the Options tab

    Click the Options tab.

  3. Change a setting

    Find the setting, such as memory_limit, upload_max_filesize or max_execution_time, and choose a new value. Changes are saved automatically.

  4. Check your website

    Reload your website to confirm the change.

Tips

  • Set post_max_size at least as high as upload_max_filesize when increasing upload limits.

Related guides