. Advertisement .
. Advertisement .
PHP: Hypertext Preprocessor, often abbreviated to PHP, is a scripting language or code primarily used to develop general-purpose, open-source, server-written applications. When you try to do anything automated in the tool, the following error appears: “The requested PHP extension intl is missing from your system in PHP“. Don’t worry too much. This post will support you in resolving the error with the best solution.
When Will The Error “The requested PHP extension intl is missing from your system in PHP” Occur?
You are attempting to install CodeIgniter 4 using Composer, but you get the following error.
Problem 1 – codeigniter4/framework v4.0.0-rc.3 requires ext-intl * -> the requested PHP extension intl is missing from your system. – Installation request for codeigniter4/framework ^[email protected] -> satisfiable by codeigniter4/framework[4.0.0-rc.4, v4.0.0-rc.1, v4.0.0-rc.2, v4.0.0-rc.2.1, v4.0.0-rc.3]. To enable extensions, verify that they are enabled in your .ini files: – D:\xampp\php\php.ini You can also run `php –ini` inside terminal to see which files are used by PHP in CLI mode.
The Effective Methods For The Error “The requested PHP extension intl is missing from your system in PHP”
Now, we will discuss some of the best solutions that will benefit you.
Solution 1: Uncomment Intl extension
Your PHP configuration is missing the Intl Extension. All you have to do to solve your error “The requested PHP extension intl is missing from your system in PHP” is uncomment the following line in your XAMPP installation.
To begin, open the
php.ini file at xampp folder path]/php/php.ini and edit it.
Remove the ; after searching for ;extension=intl.
Restart Apache after saving the
Your error must now be fixed.
Solution 2: For Ubuntu
You are missing the PHP intl extension here. Using an Ubuntu system, type this command into your terminal.
sudo apt-get install php-intl
And then you need to restart the apache.
sudo service apache2 restart
The above code may resolve the issue “The requested PHP extension intl is missing from your system in PHP”.
Solution 3: Use php -i
For the web/Apache version of PHP, a different php.ini is used than for the command-line version. As a result, the intl extension is visible in
phpinfo() in the browser, but if you execute
php -m in the command line, you might notice that intl is not among the list of extensions there.
php -i, you can see where the
ini file is loaded from on top of the output. You should be good to go if you activate the intl extension in that
5.6 of php.ini (check version using php -v):
;extension=php_intl.dll ; remove semicolon extension=php_intl.dll
;extension=intl ; remove semicolon extension=intl
Those simple approaches presented above are solutions to the aforementioned major error: “The requested PHP extension intl is missing from your system in PHP“. Please leave all your concerns in the comments section if you have any further questions. I wish you all an effective day with your tool.
→ Fix The Error: “Notice: Trying to access array offset on value of type bool in PHP”?
Leave a comment