Answer the question
In order to leave comments, you need to log in
What is the secret of Yii2 && PuPHPPet configuration?
Hello. Faced difficulty initializing Yii2 under PuPHPet
PuPHPet config
fabidab.dev:
servername: fabidab.dev
serveraliases:
- www.fabidab.dev
docroot: /var/www/fabidab/frontend/web
port: '80'
setenv:
- 'APP_ENV dev'
setenvif:
- 'Authorization "(.* )" HTTP_AUTHORIZATION'
custom_fragment: ''
ssl: '0'
ssl_cert: ''
ssl_key: ''
ssl_chain: ''
ssl_certs_dir: ''
ssl_protocol: ''
ssl_cipher: ''
directories:
avd_qeb40z1my5l6:
path: /var/www/fabidab/frontend/web
options:
- Indexes
- FollowSymlinks
- MultiViews
allow_override:
- All
require:
- 'all granted'
custom_fragment: ''
files_match:
avdfm_i5oeayykt44p:
path: \.php$
sethandler: 'proxy: fcgi://127.0.0.1:9000'
custom_fragment: ''
provider: filesmatch
provider: directory
admin.fabidab.dev:
servername: admin.fabidab.dev
serveraliases:
- www.admin.fabidab.dev
docroot: /var/www/fabidab/backend/web
port: '80'
setenv:
- ' APP_ENV dev'
setenvif:
- 'Authorization "(.*)" HTTP_AUTHORIZATION'
custom_fragment: ''
ssl: '0'
ssl_cert: ''
ssl_key: ''
ssl_chain: ''
ssl_certs_dir: ''
ssl_protocol: ''
ssl_cipher: ''
directories:
avd_qeb40z1my5l6:
path: /var/www/fabidab/backend/web
options:
- Indexes
- FollowSymlinks
- MultiViews
allow_override:
- All
require:
- 'all granted'
custom_fragment: ''
files_match:
avdfm_i5oeayykt44p :
path: \.php$
sethandler: 'proxy:fcgi://127.0.0.1:9000'
custom_fragment: ''
provider: filesmatch
provider: directory
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question