Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't install laravel 10 #102

Open
phamtuyennina opened this issue Oct 19, 2023 · 3 comments
Open

I can't install laravel 10 #102

phamtuyennina opened this issue Oct 19, 2023 · 3 comments

Comments

@phamtuyennina
Copy link

I can't install composer require ckfinder/ckfinder-laravel-package
on laravel 10. My error table, if you have installed it, please guide me.

- ckfinder/ckfinder-laravel-package[v4.0.1, ..., v4.0.2] require league/flysystem-ftp ^3.0 -> satisfiable by league/flysystem-ftp[3.0.0, ..., 3.16.0].
- ckfinder/ckfinder-laravel-package[v3.4.4, ..., v3.5.1] require laravel/framework ^5.5 -> found laravel/framework[v5.5.0, ..., v5.8.38] but it conflicts with your root composer.json require (^10.10).
- ckfinder/ckfinder-laravel-package[v3.5.1.1, ..., v3.5.1.2] require laravel/framework ^5.5|~6.0 -> found laravel/framework[v5.5.0, ..., v5.8.38, v6.0.0, ..., v6.20.44] but i    - ckfinder/ckfinder-laravel-package[v3.5.1.3, ..., v3.5.1.5] require laravel/framework ^5.5|~6.0|~7.0 -> found laravel/framework[v5.5.0, ..., v5.8.38, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but it conflicts with your root composer.json require (^10.10).
- ckfinder/ckfinder-laravel-package[v3.5.1.6, ..., v3.5.2.1] require laravel/framework ^5.5|^6.0|^7.0|^8.0 -> found laravel/framework[v5.5.0, ..., v5.8.38, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but it conflicts with your root composer.json require (^10.10).
- ckfinder/ckfinder-laravel-package v3.5.3 requires laravel/framework ^5.5|^6.20.42|^7.0|^8.0 -> found laravel/framework[v5.5.0, ..., v5.8.38, v6.20.42, v6.20.43, v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but it conflicts with your root composer.json require (^10.10).
- ckfinder/ckfinder-laravel-package v4.0.0 requires laravel/framework ^9.0 -> found laravel/framework[v9.0.0, ..., v9.52.16] but it conflicts with your root composer.json require (^10.10).
- league/flysystem-ftp[3.0.0, ..., 3.16.0] require ext-ftp * -> it is missing from your system. Install or enable PHP's ftp extension.
- Root composer.json requires ckfinder/ckfinder-laravel-package * -> satisfiable by ckfinder/ckfinder-laravel-package[v3.4.4, ..., v3.5.3, v4.0.0, v4.0.1, v4.0.2].

To enable extensions, verify that they are enabled in your .ini files:
- F:\laragon\bin\php\php-8.1.12-Win32-vs16-x64\php.ini
You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with --ignore-platform-req=ext-ftp to temporarily ignore these required extensions.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require ckfinder/ckfinder-laravel-package:*" to figure out if any version is installable, or "composer require ckfinder/ckfinder-laravel-package:^2.1" if you know which you need.

@bmlotek
Copy link
Contributor

bmlotek commented Oct 24, 2023

Hello @phamtuyennina, sorry for late answer.

I installed fresh instance of laravel 10 with php 8.1 enabled and no errors during downloading or configuring package didn't happen. I also managed to run it locally.

Could you provide me your composer.json file?

@Khurramxhahzad
Copy link

@phamtuyennina I was facing the same issue. When I enabled ftp extension in PHP, the issue was resolved automatically.

@probitaille
Copy link

Same as @Khurramxhahzad, I got the same problem and it was resolved by enabling FTP extension in my php.ini.

Even if it seems obvious, this prerequisite should be documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants