user2552392
user2552392

Reputation: 19

What does the 'M' mean in this code?

I am trying to change my .htaccess file to have a larger upload limit, but I don't understand what the 'M' after the number stands for.

php_value upload_max_filesize 80M
php_value post_max_size  80M

Upvotes: 0

Views: 122

Answers (1)

Stefano Radaelli
Stefano Radaelli

Reputation: 1118

M means MegaBytes while G means Gigabytes

However, if your servers run PHP in "CGI mode" as recommended by the PHP developers (not as an Apache module), so you can't use "php_value" or "php_flag" commands in .htaccess files. If you try to do so, you'll see an "internal server error" message

Upvotes: 1

Related Questions