CyberPanel is a Webhosting control panel. If you want to upload a file of large size and you are unable to do so. So here I will tell you how to change the Maximum upload file size.
Sometimes you want to import a database of large size or you want to upload an image or file on your size of large size and then you receive an error that you cant upload a file more than 2M (2M is the default size for the post in CyberPanel).
Here I will tell you how you can increase the Max upload limit for post and file. You can also change different things like maximum execution time, max input time, etc.
Follow all the steps to change Upload Limit.
- Login to your CyberPanel using your credentials.
2. Now go to the PHP->Edit PHP Configs
3. You can see the Basic and Advanced buttons here. Remain on Basic and Select your required PHP version from here.
4. Once you select the required version you can see the different option here
Here you can update the values for all fields according to your requirements. You can update values here Like Max uploads size, max execution time, Post size, etc.
After updating values you need to click the save button to save all changes .
In the last steps, you need to restart PHP in the latest version of CyberPanel they give the option of restart in the Panel. Below the configuration. But if you are on the old version you have to restart PHP.
Without restarting PHP the changes will never applied.
Read More: Access Cyberpanel Via Hostname with SSL- Issue SSL for Hostname