WithPhpIni configures user defined PHP ini settings.
(overrides map[string]string)
| 143 | |
| 144 | // WithPhpIni configures user defined PHP ini settings. |
| 145 | func WithPhpIni(overrides map[string]string) Option { |
| 146 | return func(o *opt) error { |
| 147 | o.phpIni = overrides |
| 148 | return nil |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | // WithMaxWaitTime configures the max time a request may be stalled waiting for a thread. |
| 153 | func WithMaxWaitTime(maxWaitTime time.Duration) Option { |