skip to Main Content

Hello I have 2 Laravel Projects one is installed inside the xamp/htdocs directory and the other is installed in the wamp/www directory. the php version on xamp project is <8.0 and the other projects runs on an older version 7.2

How do I set xamp to run on a newer version of php and wamp on an older version of php ?

Thank you in Advance

I have tried to move the xamp project to wamp/www and set the php version to a newer versionphp version set to a newer version
but when I type in the terminal inside the project php -v php version

2

Answers


  1. i recommend you the software called laragon, it comes with a wonderfull project managment for laravel and you can easily swith php versions

    Login or Signup to reply.
  2. One option is to use laravel’s homestead: https://laravel.com/docs/9.x/homestead

    You can set up multiple projects with different php versions

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search