F
Filament7mo ago
warpig

installing version 3

hi all, i created a new laravel application on windows 10 via:
laravel new filapp
laravel new filapp
and then i tried to install filament
composer require filament/filament:"^3.2" -W php artisan filament:install --panels
composer require filament/filament:"^3.2" -W php artisan filament:install --panels
but that didn't work. i got an error about the "intl" extension on php.ini. however, I was able to install it without a version number. before finding that solution i tried uncommenting these:
extension=zip
extension=intl
extension=zip
extension=intl
and adding this extension: extension=php_intl.dll but at the moment it's not working. i was able to install and even followed a portion of the guide, it got me to create a new patient and owner. but after visiting "admin/patients" i got this on the browser:
The "intl" PHP extension is required to use the [format] method.
The "intl" PHP extension is required to use the [format] method.
the error from "composer update":
- filament/support[v3.2.0, ..., v3.2.72] require ext-intl * -> it is missing from your system. Install or enable PHP's intl extension.
- filament/support[v3.2.0, ..., v3.2.72] require ext-intl * -> it is missing from your system. Install or enable PHP's intl extension.
some warnings before composer update:
HP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/lib/php/20230831/intl (/usr/lib/php/20230831/intl: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/intl.so (/usr/lib/php/20230831/intl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'php_intl.dll' (tried: /usr/lib/php/20230831/php_intl.dll (/usr/lib/php/20230831/php_intl.dll: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/php_intl.dll.so (/usr/lib/php/20230831/php_intl.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: Module "zip" is already loaded in Unknown on line 0
HP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/lib/php/20230831/intl (/usr/lib/php/20230831/intl: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/intl.so (/usr/lib/php/20230831/intl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'php_intl.dll' (tried: /usr/lib/php/20230831/php_intl.dll (/usr/lib/php/20230831/php_intl.dll: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/php_intl.dll.so (/usr/lib/php/20230831/php_intl.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: Module "zip" is already loaded in Unknown on line 0
i thought i had enabled those extensions? what can i do? i know this has been answered before but uncommenting intl on ini doesn't seem to be working and i restarted nginx prior to running composer update. thanks!
Solution:
Sounds like you enabled an extension that is not installed. Try installing it with pecl
Jump to solution
4 Replies
Tieme
Tieme7mo ago
Restart you computer, after you changed the php.ini php needs to restart before changed apply.
warpig
warpigOP7mo ago
Doesn’t seem be to working 😣
Solution
Dennis Koch
Dennis Koch7mo ago
Sounds like you enabled an extension that is not installed. Try installing it with pecl
warpig
warpigOP7mo ago
yes the comment above worked. these were the commands i used:
// views the installed packages
php -i | grep ini

// intl for my version of php
sudo apt-get install php8.3-intl
// views the installed packages
php -i | grep ini

// intl for my version of php
sudo apt-get install php8.3-intl
Want results from more Discord servers?
Add your server