Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!
We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!
Learn from Guru Rajesh Kumar and double your salary in just one year.
I was moving a Laravel project to a ubuntu virtual machine.
Steps that I followed:
1. Installed Xampp
2. Another thing which is required is Composer
3. Now the thing is when we try to install Laravel project inside our htdocs folder it through an error

4. To resolve this error first create a folder inside your htdocs.
mkdir Projects
5 grant read and write permissions to this folder by running this commands
sude chmod +rw Projects
6. You may get another error while installing is (“mbstring” extension is missing.)
Run the below commands to resolve these errors
sudo apt-get install php-mbstring
sudo su - root
7. That’s it now try installing your project again
composer create-project --prefer-dist laravel/laravel testProject "5.8.*"
That’s it, Hope it help someone out there.