Last active
August 8, 2018 08:22
-
-
Save Golgarud/e9a525783ef74c6d6830e8d5d3fe418d to your computer and use it in GitHub Desktop.
.ovhconfig php-fpm php7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; ovhconfig | |
; | |
; this file must be placed in $HOME/.ovhconfig or in $DOCUMENT_ROOT/.ovhconfig | |
; __app.engine__ | |
; | |
; values: php (php engine + opcache accelerator) | |
; notice: if php, a phpcgi engine will be activated as fallback (if previous engine crash) | |
; | |
; php: | |
; IMPORTANT: register_globals and magic_quotes_gpc are off for security | |
; php optiones .htaccess (like php version) are ignored | |
; phpcgi: | |
; IMPORTANT this is a fallback to previous system | |
; in this case __app.engine.version__ will be considerated as AUTO and php version will be old system | |
; (meaning depending .htaccess or .phpX extension) | |
; | |
app.engine=php | |
; __app.engine.version__ specify version of your engine | |
; | |
; for php: | |
; default: 5.6 | |
; for phpcgi: | |
; this options is ignored (= fallback in AUTO) | |
; | |
app.engine.version=7.1 | |
; __http.firewall__ used to add application firewall (filter http requests) | |
; | |
; values: none | security | |
; default: none | |
; | |
http.firewall=none | |
; __environment__ | |
; | |
; values: production | development | |
; | |
; production: | |
; apache will maximise local cache | |
; mod_expires will grow up TTL of js, css, pdf, images, video, audio | |
; you can override it changing expiration explicitly in your .htaccess | |
; feel free to look on our guide. | |
; development: | |
; no expiration is added, files are not locally in cache, | |
; will speed up tests but decrease performances | |
; | |
; choosen environment will also be available in your variable ENVIRONMENT unix env | |
; | |
; default: production | |
; | |
environment=development |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment