installing Composer

I am trying to install filament but i get the error in pic i did try using
composer require filament/filament:"^3.2" -W --ignore-platform-req=ext-intl
composer require filament/filament:"^3.2" -W --ignore-platform-req=ext-intl
and still got the same error
No description
23 Replies
krekas
krekas8mo ago
try without version
Ahmadmhk
AhmadmhkOP8mo ago
this word for me
composer require filament/filament:"^3.2" -W --ignore-platform-req=ext-intl --ignore-platform-req=ext-zip
composer require filament/filament:"^3.2" -W --ignore-platform-req=ext-intl --ignore-platform-req=ext-zip
krekas
krekas8mo ago
You did wrong. Enable the ohp extension. It is needed
Ahmadmhk
AhmadmhkOP8mo ago
the ext zip?
Dennis Koch
Dennis Koch8mo ago
Probably both. Otherwise we wouldn't require them. But at least intl
krekas
krekas8mo ago
should be both
Ahmadmhk
AhmadmhkOP8mo ago
so how can i fix the problem?
krekas
krekas8mo ago
enable those extensions
Ahmadmhk
AhmadmhkOP8mo ago
of i try to do it with this extensions i get this
No description
No description
CookieMC337
CookieMC3378mo ago
install php intl and php zip
Dennis Koch
Dennis Koch8mo ago
Yes, because you don't have those extensions installed/enabled. Check google on how to enable/install extension with XAMPP
Ahmadmhk
AhmadmhkOP8mo ago
is this the way to install them because it is still not working and i checked the file 5 times to make sure that i did save
No description
No description
Dennis Koch
Dennis Koch8mo ago
Run php -m to check whether they are enabled Did you restart XAMPP?
Ahmadmhk
AhmadmhkOP8mo ago
yes they are not enable i dont know why i even reset my pc and i close it with task manager i even deleted xampp and did the same think in php ini
Ahmadmhk
AhmadmhkOP8mo ago
No description
Dennis Koch
Dennis Koch8mo ago
Sorry I don’t know how to configure XAMPP
krekas
krekas8mo ago
Google it, there might be some extra steps
Ahmadmhk
AhmadmhkOP8mo ago
all the videos are doing the same thing and with the extension intl its working but with zip didnot work
Tally
Tally8mo ago
It's not loaded... did you edit the correct php.ini? check php --ini which ini file to use if nothing else is working maybe handy switching to Laragon or Herd (for easy windows development) after ini change use C:/xampp/apache/bin/httpd -k stop C:/xampp/apache/bin/httpd -k start to restart apache Then use Dennis' suggestion php -m to check if the module is loaded
Ahmadmhk
AhmadmhkOP8mo ago
Sloved thank you everyone for helping me
Tally
Tally8mo ago
👍
Dennis Koch
Dennis Koch8mo ago
What was the solution for anyone searching in the future?
Ahmadmhk
AhmadmhkOP8mo ago
I have two XAMPP installations: one named "xampp" and another named "xampp01" because I redownloaded XAMPP. I've been working in the "xampp01" installation, and when I needed to change the php.ini file, I modified the one in "xampp01". However, for some reason, I had to make the changes in the php.ini file located in the original "xampp" folder instead.

Did you find this page helpful?