Answer the question
In order to leave comments, you need to log in
How to make a console call in yii2?
Gentlemen, please tell
me 1. installed on OpenServer YII2 basic, I see a test site ( mysite.local )
2. I open CMD, go to the URL of my site ( c:\My\OpenServer\OpenServer\domains\mysite.local>_ )
to see treasured inscription
3. I enter yii <hello> [-m=hello]
I get - Cannot find the specified file.
As usual, the problem of discovering something new. Tell me how to make a console call in yii2?
(Google brought the courts, there are no video lectures about this on YouTube)
Answer the question
In order to leave comments, you need to log in
what does php -v say in the console?
Why doesn't Openserver change PHP versions?
Good afternoon.
Enter in the console
and get a list of available commands
Parse error: syntax error, unexpected '[' in C:\My\OpenServer\OpenServer\domains\mysite.local\vendor\guzzlehttp\psr7\src\functions.php on line 78
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question