Posix and intl extension on windows

时光怂恿深爱的人放手 提交于 2020-01-13 16:22:50

问题


When I installed Symfony2 sandbox and try to check requirements by check.php I had 2 problems. My server don't have posix and intl extensions. I'm using WampServer 2.1e (32 bits) on Windows 7 32bit so my versions of apache and php are: Apache 2.2.17 VC6 ThreadSafe Php 5.3.5

I was trying to apply intl extension from http://windows.php.net/downloads/releases/php-5.3.5-Win32-VC6-x86.zip but i have weird error in apache log: "Can't find extension in c:/wamp/..." I'm sure that extension is in correct directory and enabled in php.ini.

With posix extension I have bigger problem. I can't find it at all on windows platform. In documentation of php it is said that it should be enabled by default, but it isn't.


回答1:


I'm using XAMPP 1.7.4 with PHP 5.3.5 and i experience the same problems.

The problem concerning intl extension i solved this way: i copied files named icu*36.dll from php installation folder to C:\Windows

Resorurces for intl: http://www.tiv.net/2010/12/php-intl-extension-windows-apache.html

Talking about the posix issue, i haven't even searched, becase this extension is used to colorize the CLI output and Windows shell isn't able to do it.



来源:https://stackoverflow.com/questions/4741396/posix-and-intl-extension-on-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!