I think this might be useful for all of you. First run
So that you can find all php.ini files no matter what you are using.
Then make all changes as needed
first run this command
sudo find / -name "php.ini"
then after finding the file run this command
after you are in the file click Ctrl w to search for uploadmaxfilesize . After setting the value to 100M save it clicking Ctrl O and then click Ctrl X.