Phpstudy to open the Php_intl extension startup pop-up error workaround

Source: Internet
Author: User
Tags intl

Recently, because of the use of YII2 framework development, found that some modules need to support PHP_INTL internationalization support expansion, the local build phpstudy integration environment, open PHP_INTL extension, any version started with Phpstartup, the error is not displayed

It was strange at the time, through a series of search, found that php_intl need to rely on the ICU library, simply follow the method to do it (

Download the ICU library-----put it on apache\bin\). The directory is not necessarily apache\bin\ depending on your environment directory, Windows key + PAUSE-system-advanced-environment variables to see the global path of your environment;

Or not, with php-m check, found that Php_intl.dll is not Win32-bit application, and then went online to download a 32-bit Php_intl.dll file, php-m Check no error, start without pop-up window, phpinfo () or no php_ Intl extension, or not installed successfully.

The person who encounters this kind of problem on the net is the window directly, in the WIN10 system only pops up Phpstartup, so I later with Win7 system again to get again, result is pop "lost Icuio51.dll" file

Then re-download the ICU version 51, OK, resolved.

Back to WIN10, get it done!

Ps.

PHP What version of the use of what version of the ICU, using 32-bit or 64-bit according to the MSVC environment to set;

php5.5 support icu5.1 version ();

php5.6 supports the icu5.7 version.

Tortured for a period of time, the attention of the place to record, I hope that others will encounter with me in the same situation know the problem, do not need to waste too much time.

Online Workaround: Https://stackoverflow.com/questions/1451468/intl-extension-installing-php-intl-dll

ICU Library Download: http://site.icu-project.org/download

Phpstudy to open the Php_intl extension startup pop-up error workaround

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.