Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

laravel sail install php extensions

#Step 1 
#edit vendor/laravel/sail/runtimes/[PHP VERSION]/Dockerfile
#Ex: ./vendor/laravel/sail/runtimes/8.1/Dockerfile

#Step 2 
#Add the command at Dockerfile file
RUN apt-get install -y php8.1-mongodb
  
#Step 3 
#Save it and then run ./vendor/bin/sail build and ./vendor/bin/sail up -d
./vendor/bin/sail build && ./vendor/bin/sail up -d

## Tutorials:
# https://developpaper.com/laravel-sail-add-mongodb/
Comment

PREVIOUS NEXT
Code Example
Shell :: remove git proxy 
Shell :: pwd linux 
Shell :: kubernetes on windows 10 
Shell :: download subfolder from github 
Shell :: conda install huggingface hub 
Shell :: ngrok with docker-compose 
Shell :: How can I find out which users are in a group within Linux? 
Shell :: how to update to latest version of chrome in ubuntu 17.04 
Shell :: how to search string in subdirectory in unix 
Shell :: .local ubuntu 
Shell :: git ignore by file extension 
Shell :: githum readme bold 
Shell :: npm install xlsx 
Shell :: portainer install 
Shell :: apache2 install ubuntu 20.04 
Shell :: docker compose up only one service 
Shell :: unity localization 
Shell :: ionic social sharing 
Shell :: how to unzip tar.gz file 
Shell :: for shell 
Shell :: sudo without password 
Shell :: tree process linux commnad 
Shell :: git lost changes after reset --keep 
Shell :: remove composer package 
Shell :: vitejs tailwind 
Shell :: install docker-compose in centos 8 
Shell :: redis remove key 
Shell :: linux lis disks 
Shell :: conda install pandas 
Shell :: check how many container running or not running in docker 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =