Open utterances-bot opened 4 years ago
I am using Laravel app and was trying to upgrade PHP 7.4 (https://www.cloudways.com/blog/php-7-4/ ). The problem is I am getting 503 error. I am using Laravel 6.3
Persons-MacBook-Pro:code person$ composer global update Changed current directory to /Users/person/.composer Deprecation Notice: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in phar:///usr/local/bin/composer/src/Composer/Downloader/GitDownloader.php:253 Deprecation Notice: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in phar:///usr/local/bin/composer/src/Composer/Downloader/SvnDownloader.php:132 Loading composer repositories with package information Warning from https://packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2 Updating dependencies (including require-dev)
[ErrorException]
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [
Upgrade Laravel Valet to PHP 7.4 - DC Blog | Development Tutorials
First you should upgrade your machine to PHP 7.4...
https://dcblog.dev/upgrade-laravel-valet-to-php-74