Home  >  Article  >  PHP Framework  >  Still troubled by the Laravel environment? See another way

Still troubled by the Laravel environment? See another way

藏色散人
藏色散人forward
2022-12-09 16:47:001117browse

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!

Statement:
This article is reproduced at:learnku.com. If there is any infringement, please contact admin@php.cn delete