Windows上的Posix和Intl扩展 [英] Posix and intl extension on windows

查看:440
本文介绍了Windows上的Posix和Intl扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我安装Symfony2沙箱并尝试通过check.php检查需求时,我遇到了2个问题.我的服务器没有posix和intl扩展名. 我在Windows 7 32bit上使用WampServer 2.1e(32位),所以我的apache和php版本是: Apache 2.2.17 VC6 ThreadSafe Php 5.3.5

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

我正在尝试从 http://windows.php.net/downloads/releases/php-5.3.5-Win32-VC6-x86.zip 但是我在apache日志中有一个奇怪的错误:在c:/wamp/...中找不到扩展名."我确信该扩展名位于正确的目录中,并已在php.ini中启用.

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.

使用posix扩展名,我遇到了更大的问题.我根本无法在Windows平台上找到它.在php文档中,据说默认情况下应启用它,但不是.

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.

推荐答案

我正在将XAMPP 1.7.4与PHP 5.3.5结合使用,遇到同样的问题.

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

有关 intl 扩展名的问题我是这样解决的:我将名为 icu * 36.dll 的文件从php安装文件夹复制到C:\ Windows

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

intl 的资源: http://www.tiv.net/2010/12/php-intl-extension-windows-apache.html

关于 posix 问题,我什至没有搜索,因为此扩展名用于给CLI输出着色,而Windows shell无法做到这一点.

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.

这篇关于Windows上的Posix和Intl扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆