What notation can be used for file sizes in PHP's ini files?

Viewed 19

As an example, by default, the memory_limit directive will have a value like 128M. What other units can be used?

1 Answers

You can use K (for Kilobytes), M (for Megabytes) and G (for Gigabytes). They are case insensitive so you can alternatively use k, m, or g respectively.

Source: PHP.net FAQs

Related