开发者

Are duplicate directives in php.ini going to cause an issue?

开发者 https://www.devze.com 2023-02-03 17:52 出处:网络
I sent a request to ops today to update some php.ini directives, and found out that he merely appended them to the end of the file.My google search didn\'t really come up with any info on whether this

I sent a request to ops today to update some php.ini directives, and found out that he merely appended them to the end of the file. My google search didn't really come up with any info on whether this is a problem or not to have duplicates in there and how they would be parsed. Obviously, it can cause confusion, but, I would have a stronger argument if I knew if this was acceptable or not.

Any input?

开发者_运维百科

Thanks in advance...


The last mentioned value takes precedence.

memory_limit = 32M

... # more directives

memory_limit = 128M

<EOF>

Makes the memory_limit be 128M.


It is usually not a crisis if something is declared twice. The normal behaviour would then be to use the last value parsed.

0

精彩评论

暂无评论...
验证码 换一张
取 消