Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

sail add php mongodb extension

#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 :: brew upgrade all casks 
Shell :: where is path on klai linux 
Shell :: git discard all unpushed commits 
Shell :: rsync only updated files 
Shell :: como atualizar a versão do angular 
Shell :: grep exclude 
Shell :: git exclude some files from git commit 
Shell :: commitlint, husky, commitzen 
Shell :: how do I add a commit to an existing pull request 
Shell :: codeigniter 4 migrate 
Shell :: brew services start mongodb-community@4.4 
Shell :: macos make file executable 
Shell :: add user to docker group 
Shell :: no matching manifest for linux/arm64/v8 in the manifest list entries 
Shell :: add laravel installer to path 
Shell :: unzip rar 
Shell :: docker kill running container(s) 
Shell :: install elasticsearch on ubuntu 
Shell :: crontab error log 
Shell :: Linux command line search and replace string in all files 
Shell :: ionic capacitor android 
Shell :: unable to resolve host myhost 
Shell :: How to open webpage in vbscript 
Shell :: gcloud shell ssh 
Shell :: Column count of mysql.proc is wrong. Expected 20, found 16. The table is probably corrupted 
Shell :: linux chmod 
Shell :: create new repo 
Shell :: edit path linux 
Shell :: etherum for ubuntu 
Shell :: install synergy ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =