Home > PHP Framework > Laravel > body text

Still troubled by the Laravel environment? See another way

藏色散人
Release: 2022-12-09 16:47:00
forward
1119 people have browsed it

This article mainly introduces to you Windows readers who are troubled by the environment in the Laravel tutorial, how to set up the environment and find another way ~ I hope it will be helpful to friends in need!

Build environment

docker - centos - pagoda
larabbs.3qma.com/topics/113/qu-xian...

Install PHP8.0 MySQL5.7 redis, nginx

redis local connection: comment bind 127.0.0.1 in the configuration file and restart [Related recommendations: laravel video tutorial]

Install nodejs, select 18lts

export PATH=$PATH:/www/server/nodejs/{youer-version}/bin
Temporary global use command, need to be reset after restarting

Still troubled by the Laravel environment? See another way

Installation dependencies

SASS_BINARY_SITE=npm.taobao.org/mirrors/node-sass yarn

Front-end operation

npm run watch-poll

Still troubled by the Laravel environment? See another way

horizon can also be installed according to the documentation

After many attempts by me, there is basically no problem.

The above is the detailed content of Still troubled by the Laravel environment? See another way. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:learnku.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template