How to change the maximum upload file size for a website

When managing a website, especially one that handles large files or media uploads, you might encounter the need to increase the PHP upload limit. By default, PHP sets a limit on the maximum file size that can be uploaded, which can sometimes be too restrictive for your needs. In this guide, we’ll walk you through the steps to change the PHP upload limit in CloudStick.

Step 1: Log in to Your CloudStick Account

  1. Navigate to CloudStick.io and log in using your credentials.
  2. Select the server where the website you want to configure is hosted.

Step 2: Access the Website Settings

CloudSitck websites

  1. From the CloudStick dashboard, go to the “Websites” section.
  2. Select the website for which you want to change the PHP upload limit.

Step 3: Modify the PHP Settings

disabled functions such as shell_exec

  1. Once you’re in the web application details, look for the “Settings” tab. This section allows you to customize various PHP configurations.
  2. Scroll down until you find the Advanced setting and again scroll down until you find the upload_max_filesize and post_max_size options. These settings control the maximum size of files that can be uploaded through PHP.
  3. By default, it will be 250MB and you have to update both values together to get this working.

max_execution_time