On UNIX systems, you can find your php.ini file with this command:
$ locate php.ini
Note that you’ll probably need root’s rights to edit the file.
As an alternative, you can sometimes use Apache php_value directive in your .htaccess:
php_value upload_max_filesize 10M
However, it is not available with all PHP SAPI.
post_max_size value should always be higher than