|
| 1 | +[PHP] |
| 2 | + |
| 3 | +; Maximum amount of memory a script may consume |
| 4 | +; http://php.net/memory-limit |
| 5 | +memory_limit = {{ .Env.PHP_MEMORY_LIMIT }} |
| 6 | + |
| 7 | +; Fix maximum variables per input |
| 8 | +max_input_vars = {{ .Env.PHP_MAX_INPUT_VARS }} |
| 9 | + |
| 10 | +; Maximum allowed size for uploaded files. |
| 11 | +; http://php.net/upload-max-filesize |
| 12 | +upload_max_filesize = {{ .Env.PHP_UPLOAD_MAX_FILESIZE }} |
| 13 | + |
| 14 | +; Maximum size of POST data that PHP will accept. |
| 15 | +; Its value may be 0 to disable the limit. It is ignored if POST data reading |
| 16 | +; is disabled through enable_post_data_reading. |
| 17 | +; http://php.net/post-max-size |
| 18 | +post_max_size = {{ .Env.PHP_POST_MAX_SIZE }} |
| 19 | + |
| 20 | +; Maximum execution time of each script, in seconds |
| 21 | +; http://php.net/max-execution-time |
| 22 | +; Note: This directive is hardcoded to 0 for the CLI SAPI |
| 23 | +max_execution_time = {{ .Env.PHP_MAX_EXECUTION_TIME }} |
| 24 | + |
| 25 | +[opcache] |
| 26 | + |
| 27 | +; Determines if Zend OPCache is enabled |
| 28 | +opcache.enable=1 |
| 29 | + |
| 30 | +; The OPcache shared memory storage size. |
| 31 | +opcache.memory_consumption=512 |
| 32 | + |
| 33 | +; The amount of memory for interned strings in Mbytes. |
| 34 | +opcache.interned_strings_buffer=64 |
| 35 | + |
| 36 | +; The maximum number of keys (scripts) in the OPcache hash table. |
| 37 | +; Only numbers between 200 and 1000000 are allowed. |
| 38 | +opcache.max_accelerated_files=30000 |
| 39 | + |
| 40 | +; When disabled, you must reset the OPcache manually or restart the |
| 41 | +; webserver for changes to the filesystem to take effect. |
| 42 | +opcache.validate_timestamps=0 |
| 43 | + |
| 44 | +; If disabled, all PHPDoc comments are dropped from the code to reduce the |
| 45 | +; size of the optimized code. |
| 46 | +opcache.save_comments=1 |
0 commit comments