Wenn ich wie Befehl auszuführen versuchen -Warum Laravel App immer in der Produktion Stimmung ist
php artisan db:seed
es sagt -
**************************************
* Application In Production! *
**************************************
Do you really wish to run this command? (yes/no) [no]:
Meine .env Datei sagt -
....
APP_ENV=local
APP_KEY=...
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
....
meine app.php Datei sagt
...
'env' => env('APP_ENV', 'local'),
...
Meine Laravel-Version ist 5.3.
Welche Einstellung sollte ich vornehmen, um die Anwendung im Entwicklungsmodus auszuführen?
Auf der Kommandozeile kommen, was bedeutet 'Echo $ APP_ENV' (oder 'echo% APP_ENV%' auf Windows) anzeigen? – patricus
mit Windows. echo% APP_ENV% gibt% APP_ENV% zurück. Wenn ich "php artisan env" ausführe, gibt es zurück "Aktuelle Anwendungsumgebung: Produktion" –