If you are getting a message when trying to upload a Wordpress theme or other upload a large file via a PHP script
"The uploaded file exceeds the upload_max_filesize directive in php.ini."
Then you must log in to your Control Panel and increase your PHP Upload limit.
Set your upload limit from the Plugin "Select PHP Version" > "Show PHP Settings" then "upload_max_filesize". Try increasing the default value of 2M to 8M or more or to the amount you need specifically and that should resolve your problem.