My employer needs a change to some PHP files that lead me to need to look in the ‘php.ini’ file which I have never done before. The line I care about is:
upload_max_filesize = 2M
Does ‘2M’ mean 2 million? If not, what does it mean? I don’t need to change it, I just need to know what number it represents.
This is a PHP shorthand byte value. You can find out more from http://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes