Symfony 2: Install and enable the intl extension

2020-07-03 09:10发布

I'm using XAMPP for Windows and decided to try out Symfony 2.

As soon as I get to Symfony Configuration page it recommends me to install and enable intl.

I tried reading PEAR's and PECL's guides, since I'm total 0 on this topic(started learning PHP recently), but nothing worked.

I found php_intl.dll inside my C:\xamp\php\ext. The php.ini's extension_dir= is set to "C:\xampp\php\ext". I was only missing the extension=php_intl.dll inside php.ini, so I added it.

Unfortunately it didn't work, and Symfony keeps asking me for intl.

7条回答
够拽才男人
2楼-- · 2020-07-03 10:03

http://php.net/manual/en/intl.requirements.php

This extension is bundled with PHP as of PHP version 5.3.0. Alternatively, the PECL version of this extension may be used with all PHP versions greater than 5.2.0 (5.2.4+ recommended).

also read my comment to your post above

查看更多
登录 后发表回答