V
V
vitaly_742018-04-13 07:11:30
Yii
vitaly_74, 2018-04-13 07:11:30

How to open command line for Yii2?

to create a migration, you need to enter yii migrate/create , but I don’t understand where to enter, I understand this through the command line, please help me, where to enter this line?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kim, 2018-04-13
@kimono

If the project is in /var/www/yiisite, then:

cd /var/www/yiisite
php yii migrate

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question