Windows上的Posix和Intl扩展

编程入门 行业动态 更新时间:2024-10-27 23:22:41
本文介绍了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

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

I was trying to apply intl extension from windows.php/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 的资源: www.tiv/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扩展

本文发布于:2023-10-09 09:26:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1475355.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Windows   Posix   Intl

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!