Today, when uploading a plugin for installation on a cPanel panel virtual machine, it prompted „The uploaded file exceeds the upload_max_filesize directive in php.ini.“ This issue is caused by the default php.ini upload size limit. We just need to set the value of upload_max_filesize to resolve it.
Specific Method:
1. Log in to the cPanel virtual hosting management panel.
2. Find the Multi PHP INI Editor and enter it.
3. Select the website you want to modify, then find upload_max_filesize and increase the value.
If your virtual host uses the DirectAdmin panel, submit a ticket to let customer service modify it for you, as you don't have permission to do it yourself.