sudo nano /etc/php/7.4/fpm/php.ini memory_limit = 128M post_max_size = 20M upload_max_filesize = 10M sudo service php7.4-fpm restart sudo nano /etc/nginx/nginx.conf client_max_body_size 99M; sudo service nginx restart
Nginx: 413 – Request Entity Too Large Error and Solution
1. sudo nano /etc/nginx/nginx.conf 2. # set client body size to 20M # Add the following line to http or server or location context client_max_body_size 20M; 3. service nginx reload https://www.cyberciti.biz/faq/linux-unix-bsd-nginx-413-request-entity-too-large/
Error fixes
Your Vp has become "inaccessible". Unfortunately, this is a critical error with VirtualBox that Vagrant can not cleanly recover from. Please open VirtualBox and clear out your inaccessible virtual machines or find a way to fix them. 101 answer https://stackoverflow.com/questions/30662746/vm-has-become-inaccessible-vagrant-no-longer-working
run: extra help
Run vagrant
1. Homestead (cd users/lenovo/homestead)
2. vagrant up
configure homestead sites
1. open homestead.yaml
2.
folders:
- map: ~/code
to: /home/vagrant/code
3.
sites:
- map: homestead.project
to: /home/vagrant/code/project
4. vagrant reload --provision
5. Windows\System32\drivers\etc\hosts - 192.168.10.10 homestead.project
6. vagrant halt (shutdown vagrant)
reload – after change sites
If you change the sites property in Homestead.yaml
vagrant reload --provision
install
https://laravel.com/docs/5.7/homestead on laravel 8 (5 Apr 2021) 🔖 Chapters: 0:00 Intro 0:48 Install Git 1:45 Generate SSH Key 3:08 Install PuTTY & HeidiSQL 3:37 Install VirtualBox 4:15 Install Vagrant 4:43 Install NFS Plugin 5:32 Pull Homestead from GitHub 6:33 Download VagrantBox (http://bit.ly/3l2HvKi) 7:53 Configure Homestead.yaml 9:54 Boot up VM,Vagrant Up ! 11:10 Use SSH Key login without password 12:34 Install Laravel 8.x 14:42 Manage Database without SQL Commands 15:45 Checkout Laravel Welcome Page