Buongiorno,
ho problemi a lanciare la creazione della struttura delle cartelle con Yii su ubuntu 14.04.
Php è installato correttamente ed è nel PATH di sistema, ho messo nel path di sistema anche il framework.
da terminale lancio il seguente comando:
php /var/www/html/yii/yii webapp /var/www/html/myNewApp
La risposta è la seguente:
Error: Unknown command "webapp"
Quindi ho lanciato la seguente riga di comando per conoscere i comandi ed ho notato che manca "webapp" e se eseguo il comando "hello" ho una risposta positiva:
php /var/www/html/yii/yii
This is Yii version 2.0.2.
The following commands are available:
- asset Allows you to combine and compress your JavaScript and CSS files.
- cache Allows you to flush cache.
- fixture Manages fixture data loading and unloading.
- gii This is the command line version of Gii - a code generator.
- hello This command echoes the first argument that you have entered.
- help Provides help information about console commands.
- message Extracts messages to be translated from source files.
- migrate Manages application migrations.
To see the help of each command, enter:
yii help <command-name>
Riuscite a farmi capire cosa sbaglio o se manca qualche accorgimento?
Grazie a tutti![]()