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
krekas2mo ago
try without version
Ahmadmhk
Ahmadmhk2mo 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
krekas2mo ago
You did wrong. Enable the ohp extension. It is needed
Ahmadmhk
Ahmadmhk2mo ago
the ext zip?
Dennis Koch
Dennis Koch2mo ago
Probably both. Otherwise we wouldn't require them. But at least intl
krekas
krekas2mo ago
should be both
Ahmadmhk
Ahmadmhk2mo ago
so how can i fix the problem?
krekas
krekas2mo ago
enable those extensions
Ahmadmhk
Ahmadmhk2mo ago
of i try to do it with this extensions i get this
No description
No description
CookieMC337
CookieMC3372mo ago
install php intl and php zip
Dennis Koch
Dennis Koch2mo ago
Yes, because you don't have those extensions installed/enabled. Check google on how to enable/install extension with XAMPP
Ahmadmhk
Ahmadmhk2mo 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 Koch2mo ago
Run php -m to check whether they are enabled Did you restart XAMPP?
Ahmadmhk
Ahmadmhk2mo 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
Ahmadmhk2mo ago
No description
Dennis Koch
Dennis Koch2mo ago
Sorry I don’t know how to configure XAMPP
krekas
krekas2mo ago
Google it, there might be some extra steps
Ahmadmhk
Ahmadmhk2mo ago
all the videos are doing the same thing and with the extension intl its working but with zip didnot work
Tally
Tally2mo 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
Ahmadmhk2mo ago
Sloved thank you everyone for helping me
Tally
Tally2mo ago
👍
Dennis Koch
Dennis Koch2mo ago
What was the solution for anyone searching in the future?
Ahmadmhk
Ahmadmhk2mo 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.
Want results from more Discord servers?
Add your server
More Posts