Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

laravel sail install 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 :: amplify remove environment 
Shell :: afficher le contenu de la variable path 
Shell :: how to install add-apt-repository 
Shell :: dialog plus android github 
Shell :: Mount EBS volume on Linux 
Shell :: git change master branch 
Shell :: what is a shell 
Shell :: powershell pip CERTIFICATE_VERIFY_FAILED 
Shell :: wp-cli search-replace 
Shell :: git save password 
Shell :: change default branch github 
Shell :: ubuntu list of users 
Shell :: generate ssh key 
Shell :: how to push local code to gitlab 
Shell :: postgres users can login with any or no password 
Shell :: symfony unit test 
Shell :: git push an existing repository from the command line 
Shell :: iis restart cfrom command promt windows 
Shell :: git log show only merge commits 
Shell :: linux kill aport 
Shell :: git change branch 
Shell :: whats the file path for the documents folder linux 
Shell :: prevent pushing to master github 
Shell :: encrypt files in linux 
Shell :: wsl directory 
Shell :: bash upgrade cmake (From Source) 
Shell :: remove folder with content cmd 
Shell :: gem install version 
Shell :: create folder in terminal 
Shell :: openjdk 1.8 mac brew 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =