It all depends on server configuration. You will need to find out these configurations by using the codes below.
Save as anyfileYoulike.php
<?php phpinfo(); ?>
Upload to your server and direct your browser to this file. Look for the value of Server API . If your server says CGI or FAST CGI, then you need to make those entries on php.ini file. Meaning, you can create a new file and name it as php.ini, and then upload it to your server. It could be either in the same level of the directory needing the increase in max_filesize or above it.