Hi, I am a mac user. I want to try laravel 8 but it requires PHP 7.3 or above. However, I have PHP version 7.2.21. How can I upgrade to PHP 7.3?
I have followed lots of steps to upgrade to PHP 7.3. But unfortunately, I could not. Can you please provide me some suggestions to get PHP 7.3 in my mac,
The easiest way is to install mamp https://www.mamp.info/en/downloads/
Then from the mamp preferences, you can choose php version and you can point the web server to the public folder of your project.
This is for trying laravel 8 without having to upgrade your php version.
@david001 I’m Mac based too and having managed to overdo it with the likes of brew and Mamp when I got my new Mac I didn’t bother with either and went for virtual machines instead,
I’m using laravel homestead for most of my projects, including non laravel ones and find the ease of set up an use much better than the guesswork and googling which I’ve experienced with brew.
Recently I’ve been using the sinnbeck/served package (using docker) and that’s even easier to get running than homestead and runs smaller images which means you aren’t filling your Mac up with 10GB VirtualBox images. It’s an active package developed by laracasts regular @sinnbeck