[Important Security Notice] Fake Qfinder Pro Websites Detected. Learn more >

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


Last modified date: 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.

Was this article helpful?

35% of people think it helps.
Thank you for your feedback.

For further assistance, ask other users and QNAP experts in the community. Go to QNAP Community

Please tell us how this article can be improved:

If you want to provide additional feedback, please include it below.

Choose specification

      Show more Less
      Choose Your Country or Region
      open menu
      back to top