G
G
Greg Popov2016-07-30 13:41:13
Yii
Greg Popov, 2016-07-30 13:41:13

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

Everything would be fine, but does not want to change the rights to directories, does not duplicate files in the workspace

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question