Why are some changes to settings in php.ini not taking effect?


Datum poslední úpravy: 2017-03-20

Applied Models:

Answer:

To ensure that your NAS system works normally, some PHP settings (also known as “PHP directives”) in php.ini have restrictions. If a setting in php.ini is over the maximum or under the minimum allowed value, the system will reset that setting to the closest allowed value automatically. The following is a list of restricted settings:

  • memory_limit

The default value of memory_limit is 128 megabytes (MB). The minimum value cannot be less than 64MB, and the maximum value depends on the memory of your NAS:

NAS Memory memory_limit  Maximum Allowed Value
< 512MB 128MB
512MB and < 1024MB 384MB
1024MB and < 2048MB 512MB
2048MB 1024MB
  • post_max_size

Must not be greater than 2047MB.

  • upload_max_filesize

Must not be greater than 2047MB.

Byl tento článek užitečný?

36% lidí si myslí, že to pomáhá.
Děkujeme vám za vaši zpětnou vazbu.

Sdělte nám prosím, jak lze tento článek vylepšit:

Pokud chcete poskytnout další zpětnou vazbu, uveďte ji níže.

Zvolte specifikaci

      Zobrazit více Zobrazit méně

      Tato stránka v jiných zemích / oblastech:

      open menu
      back to top