Sometimes you will encounter ext-intl * is missing while you install PHP applications. You can fix it in the following ways:
Solution 1 - Install the missing extension
Solution 2 - Enable extension=intl in php.ini file
Solution 3 - Install PHP mbstring
Install the missing extension with the following command this should solve 80% of the times
sudo apt-get install php7.4-intl
NOTE: Make sure to observe the php7.4 version in the above command. Replace the php version respectively.
To know which php.ini
configuration file is loaded in your system you can run the following command
php -i | grep Loaded Configuration
The command output will look somewhat the following way
Loaded Configuration File => /etc/php/7.4/cli/php.ini
libXML Loaded Version => 20910
Then go to the respective file /etc/php/7.4/cli/php.ini
and uncomment like the following
Before
;extension=intl
After (Remove the preceding semicolon ;)
extension=intl
Don't forget to restart your PHP server. You can do it with the following command
sudo service php-fpm restart
sudo service php restart
mbstring
It's quite rare to see this issue, but can be easily fixed by running the following command
sudo apt-get install php7.4-mbstring
Client-Side Form Validation With Javascript
Resolve 404 Not Found In NGINX
Install Linux, NGINX, MYSQL, PHP (LEMP Stack) on Ubuntu
Detect AdBlocker With Javascript And Increase Website Ads Revenue
Laravel Clear Cache Of Route, View, Config Command
Foreign Key Migrations Simplified In Laravel 7.x
Basic Server Security Setup For Ubuntu / Linux
Why namespace And use Keywords Used In PHP
Install Packages Parallel For Faster Development In Composer
Google, Twitter, GitHub, Facebook & Many Other Social Generic Logins With PHP Laravel Socialite
GitHub Login With PHP Laravel Socialite
Test Your Local Developing Laravel Web Application From Phone Browser Without Any Software
Move Uploaded Files From Local Computer Or Server To Amazon S3 Bucket In PHP