当我安装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扩展
发布评论