I assume that you have already installed XAMPP in your Ubuntu OR Linux machine.
If not, then you may follow this link to do so: https://www.devopsschool.com/blog/installing-xampp-7-4-xxx-on-ubuntu/
How I got the error:
After installing XAMPP, I tries to check if I am able to access php command by running the below command:
The above command gave me following error:
sudo ln -s /opt/lampp/bin/php /usr/bin/php
Thanks for reading, I hope you enjoyed this article.
- Sending Email with attachments in Laravel 5.5 using and PHP & JQuery - February 20, 2020
- How to run php artisan queue:listen in background on Ubuntu or Linux machine - February 6, 2020
- Laravel 5.5 php artisan migrate error in Ubuntu: SQLSTATE[HY000]  Connection refused - January 31, 2020