No, Laravel 8 has a minimum requirement of PHP 7.3, as stated in the server requirements. However, if you are downgrading from higher laravel version ( Laravel 9 to Laravel 8 ), as laravel 9 requires php 8.0.2 to be installed, there are chances that some packages in Laravel may require newer PHP versions. Here are some suggestions:

  • Try downgrading the versions of the dependencies (packages) used in your project.
  • Delete the vendor folder in your project directory.
  • Delete the composer.lock file.
  • Run the "composer install" command again to reinstall the packages based on the updated PHP version.


Comments (0)
Leave a Comment

loader Posting your comment...