How to use xampp php instead of built-in php?
Hi, I want to start with laravel8 and it need PHP version above 7.3
My terminal shows PHP version 7.2
and my xampp shows PHP version 7.4
I want use xampp php instead of build in php so that i can use laravel 8. How can i achieve this.
Please help me.
Thanks
@david001 you can manually run the exact path on your terminal or alias it (add to your system path), I believe you are in Windows?
So instead of php artisan serve, make it C:\xampp\php\php.exe artisan serve.
Please locate your php.exe yourself because my path might be wrong.
What do you mean by built in PHP I've never heard of that. you said terminal so sounds like a Mac, does Mac come with PHP already installed.
you need both the command line AND your webserver to be running php 7.3+
Please or to participate in this conversation.