Open phamtuyennina opened 1 year ago
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?
@phamtuyennina I was facing the same issue. When I enabled ftp extension in PHP, the issue was resolved automatically.
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.
I can't install composer require ckfinder/ckfinder-laravel-package on laravel 10. My error table, if you have installed it, please guide me.
To enable extensions, verify that they are enabled in your .ini files:
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.