Comments (4)
If I do: /opt/homebrew/Cellar/php/8.1.1/bin/php /Users/driesvints/.composer/vendor/bin/laravel new test-lara9
It installs Laravel 9 for me. PHP 7.4 is installed as well. So I don't think there's an issue here and something specific to your local install is happening. Please try a support channel:
from installer.
If I do:
/opt/homebrew/Cellar/php/8.1.1/bin/php /Users/driesvints/.composer/vendor/bin/laravel new test-lara9
It installs Laravel 9 for me. PHP 7.4 is installed as well. So I don't think there's an issue here and something specific to your local install is happening. Please try a support channel:
Did you have php 7.4 as your default?
i.e. if you do php -v do you get 7.4 or 8.1?
This issue seems to only occur if the default php on the system is 7.4
from installer.
With Linux/Ubuntu this did not worked for me:
php8.1 ~/.composer/vendor/bin/laravel new test-lara9
To make it work, I switched php version with this:
sudo update-alternatives --set php /usr/bin/php8.1
from installer.
If I do:
/opt/homebrew/Cellar/php/8.1.1/bin/php /Users/driesvints/.composer/vendor/bin/laravel new test-lara9
It installs Laravel 9 for me. PHP 7.4 is installed as well. So I don't think there's an issue here and something specific to your local install is happening. Please try a support channel:Did you have php 7.4 as your default?
i.e. if you do php -v do you get 7.4 or 8.1?
This issue seems to only occur if the default php on the system is 7.4
I can confirm this is in-fact true! Happened to me as well as I had [email protected]
as my default php. Had to change to [email protected]
to get the latest Laravel version 9 installed via laravel new app
.
If I am not mistaken, I guess this is not an issue though as Laravel 9 requires PHP >= 8.0 at least.
from installer.
Related Issues (20)
- "globally installing the Laravel installer via Composer" $PATH issue? HOT 2
- Installer doesn't setup scaffolding for inertia ssr when combined by typescript option HOT 1
- Using the --dev switch produces an unresolvable composer.json file. HOT 1
- Option --branch isn't working HOT 3
- Installation not working HOT 14
- Not installing usable Jetstream + Livewire scaffolding HOT 1
- Docs link broken/missing from docs HOT 2
- Error installing Laravel on a Github Codespace (it worked yesterday 2023-12-18) HOT 4
- Call to `http://cabinet.laravel.com/*.zip` is returning a 404 HOT 11
- Add check to installer to see if you're on the latest version
- Database option HOT 1
- Incorrect version of the Pest package HOT 5
- issues when install laravel with mysql HOT 3
- [11.x] The config files are back in the skeleton HOT 2
- Laravel 11 laravel/installer 5.6 not tagged HOT 1
- Removing unnecessary migration prompt when database connection settings are not configured HOT 1
- Option to select database type from command line HOT 1
- Database name is set to directory even with an actual DBMS set in options HOT 2
- Database.sqlite is created even if you slect mysql HOT 1
- breeze installs breeze without --dev flag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from installer.