当前位置:网站首页>Laravel9 installation locale
Laravel9 installation locale
2022-06-30 03:25:00 【Yuanzelin8】
Exigences d'installation:
laravel9Exigences d'installation
1.php8.1Ci - dessus
2.composer
ComposerAdresse officielle de téléchargement:https://getcomposer.org/
composer global require laravel/installer
Assurez - vous d'abordComposerDePHPLa version est81Ci - dessus. Exécuter la commande ci - dessus pour installerlaravelGestionnaire d'installation.
laravel new Nom du projet
Utilisez cette commande pour installer un projet avec le nom du projetlaravelApplication(La valeur par défaut devrait être9C'est,Si ce n'est pas le cas, spécifiez)
SicomposerInstallationlaravel/installerUtilisation ultérieurelaravel newImpossible de trouverlaravelLa commande doitcomposerLe chemin d'installation du paquet est défini à la variable d'environnement.
Adoption Composer Exécution en ligne de commande create-project Commande pour installer Laravel:
composer create-project laravel/laravel --prefer-dist blog
3.Télécharger les dernièreslaravel:https://github.com/bestmomo/laravel5-example

laravel9 L'installation a rencontré un problème de résolution
Question 1:
Laravel Accéder au message d'erreur d'erreur :`Warning: require(/vendor/autoload.php): failed to open stream: No such file or dire
Message d'erreur:`Warning: require(/http/www.mywakavLee.cn/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /http/www.mywakavLee.cn/bootstrap/autoload.php on line 17
Fatal error: require(): Failed opening required ‘/http/www.mywakavLee.cn/bootstrap/../vendor/autoload.php’ (include_path=’.:/usr/local/lib/php’) in /http/www.mywakavLee.cn/bootstrap/autoload.php on line 17`
Raisons: Il manque sous la racine du site vendor Ce dépôt laraver Répertoire dépendant du paquet
Solutions:Utilisercomposer installEffectuer l'installation( Sans installation , Utilisez si vous avez déjà installé :composer update

Deuxième question:
Laravel :Illuminate\Encryption\MissingAppKeyException No application encryption key has been specifi
Illuminate\Encryption\MissingAppKeyException
No application encryption key has been specified.
http://localhost:8000/
Hide solutions
Your app key is missing
Generate your application encryption key using php artisan key:generate.
Question 3:
InstallationLaravel Ouvrez le journal blanc de la page d'accueil 500Résolution des erreurs

Dans le catalogue .env.exampleModifier comme suit:.envC'est bon
Question 4.:
Illuminate \ Encryption \ MissingAppKeyException PHP 8.1.7

In.envAjouter:
APP_KEY=base64:lnL82E7sweHZfWOmmnUOlBWof62+XGo/aBlfGcm2zXc=
边栏推荐
- Some common functions and precautions
- 4-5 count words and spaces (15 points)
- OP diode limit swing
- Huawei interview question: tall and short people queue up
- 广播模块代码在autojs4.1.1版本运行正常,但在pro7.0版本上运行报错(未解决)
- Regular full match: the password consists of more than 8 digits, upper and lower case letters, and special characters
- Redis中的SDS理解
- Global and Chinese markets for active transdermal drug delivery devices 2022-2028: Research Report on technology, participants, trends, market size and share
- Are you a "social bull" or a "social terrorist" in the interview?
- Principle, advantages and disadvantages of three operating modes of dc/dc converter under light load
猜你喜欢

HOOK Native API

Principle, advantages and disadvantages of three operating modes of dc/dc converter under light load
![C # [advanced part] C # multithreading](/img/16/2a7c477b4cee32d9ce1e543c9d4c7e.png)
C # [advanced part] C # multithreading

专升本语文资源整理

Hudi record

golang bilibili直播彈幕姬

Usage record of unity input system (instance version)

Auto. JS learning notes 16: save to the mobile phone by project, instead of saving a single JS file every time, which is convenient for debugging and packaging

Stc89c52/90c516rd/89c516rd ADC0832 ADC driver code

实用调试技巧
随机推荐
Data set preparation and arrangement
设备驱动程序的原理
On the optimization and use of idea
TiDB 6.0:讓 TSO 更高效丨TiDB Book Rush
【实战技能】如何撰写敏捷开发文档
Tp6 framework integrates JWT for token authentication
Redis high concurrency distributed locks (learning summary)
Compile a DLL without import table
JS 字母和数字的相互转换
MySQL extracts strings from table fields
Some common functions and precautions
  Difference from spaces
Differences between comparable and comparator
数据库的下一个变革方向——云原生数据库
Arrangement of language resources of upgraded version
Huawei interview question: tall and short people queue up
Hudi record
Learning cyclic redundancy CRC check
Summary of PHP test sites encountered in CTF questions (I)
Global and Chinese market of centrifugal pumps 2022-2028: Research Report on technology, participants, trends, market size and share