Xampp Intl extension on windows 10 can't be installed
Xampp setup filename is contain VCXX
for example xampp-win32-7.2.5-0-VC15-installer.exe
, VC15 mean that PHP compiled with Visual Studio 2017, so you need to install Microsoft Visual C++ Redistributable for Visual Studio 2017
to make PHP and Extensions running smoothly, but sometime already installed VC14 or Visual C++ Redistributable 2015
is enough.
You can view list and download Visual C++ Redistributable here
Php-intl installation on XAMPP
These below steps helped me, Just in case if you are using OSX
Steps from http://www.phpzce.com/blog/view/15/installing-intl-package-on-your-mac-with-xampp
Check which php path is set i.e.
root$: which php
If you are using xampp on your mac it should be
/Applications/XAMPP/xamppfiles/bin/php
but if its
/usr/bin/php
you need to change your OSx php
root$: PATH="/Applications/XAMPP/xamppfiles/bin:${PATH}"
Install icu4c
root$: brew install icu4c
Install Intl via PECL
root$: sudo pecl update-channels
root$: sudo pecl install intlYou can check if Intl was installed successfully
root$: php -m | grep intl #should return 'intl'
Done
============================
Note:
From extensions list in
/Applications/XAMPP/xamppfiles/etc/php.ini
file Add / Uncommentextension=intl.so
line. And restart Apache. Thanks @pazhynBefore installing "intl" you have to install Autoconf if you have not installed it. Thanks @Digant
- via Homebrew brew install autoconf automake
or by running below commands
curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-latest.tar.gz
tar xzf autoconf-latest.tar.gz
cd autoconf-*
./configure --prefix=/usr/local
make
sudo make install
cd ..
rm -r autoconf-*
- via Homebrew brew install autoconf automake
Symfony doesn't detect intl extension (running on XAMPP)
I don't understand precisely why but this fixed my problem : i updated the Symfony Intl package (from 5.0.4 to 5.0.7) inside my project and the message disappeared.
intl extension: installing php_intl.dll
The packages at http://windows.php.net/download/ all contain the php\_intl.dll
which is located in the subdir ext/
.
All you have to do is to check if your extension_dir points to the right directory and add (or uncomment) the extension=php\_intl.dll
directive.
Related Topics
PHP Fatal Error: Call to Undefined Function Json_Decode()
How to Change Envelope from Address Using PHP Mail
Add a Custom Attribute to a Laravel/Eloquent Model on Load
Easiest Form Validation Library For PHP
PHP Fatal Error: Class 'Pdo' Not Found
How to Install Composer PHP Packages Without Composer
"Vertical" Regex Matching in an Ascii "Image"
How to Generate a Screenshot of a Webpage Using a Server-Side Script
Sanitizing Strings to Make Them Url and Filename Safe
Does MySQL_Real_Escape_String() Fully Protect Against SQL Injection
Why Doesn't MySQL Support Millisecond/Microsecond Precision
How to Check If a String Starts With a Specified String