Advertisement
arsel

Laravel Ubuntu

Jul 21st, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. composer global require "laravel/installer"
  2. Now add the path into the environment file
  3. 1. sudo nano .bashrc
  4. Now paste the following line in it
  5. export PATH="$PATH:$HOME/.config/composer/vendor/bin"
  6. Now reload the path by the following command
  7. 1.source ~/.bashrc
  8. Now run laravel new your_project command. If you're getting
  9. The Zip PHP extension is not installed. Please install it and try again.
  10. Now install the php zip extension by the following command
  11. 1. sudo apt-get install php7.0-zip
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement