Just incase you didnt edit it right ill post how i do it in ssh.
First we need to locate the php.ini file.
locate php.ini
For cPanel the correct file is
/usr/local/lib/php.ini. The standard location for most other servers is
/etc/php.ini. Go ahead and open the php.ini file.
pico -w /etc/php.ini
or for cPanel
pico -w /usr/local/lib/php.ini
then press
control + w and find
upload_max_filesize =
set that to say
20M so it would look like this
Code:
upload_max_filesize = 20M
after that is done press
control + x and then
y to save it.
now simply restart apache to enable.
service httpd restart