你在开玩笑
cygwin是win下的一个linux模拟系统,在其中编译的程序需cygwin.dll支持
不可以离开cygwin运行
你可以在cygwin中编译apache、php...,时web服务器运行于cygwin中

解决方案 »

  1.   

    php中已集成gettext的功能, 怎么脱离unix/cygwin在win下用gettext呢?
      

  2.   

    Note to Win32 Users: In order to enable this module on a Windows environment, you must copy gnu_gettext.dll from the DLL folder of the PHP/Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32). Starting with PHP 4.2.3 the name changed to libintl-1.dll, this requires also iconv.dll to be copied.http://cn.php.net/manual/zh/ref.gettext.php
      

  3.   

    to  platinum(代号 铂) :
    一做过了
      

  4.   

    其它的不懂,这两句环境变量设置正确吗?
    putenv("LANG=".$language);putenv("LANGUAGE=".$language);
      

  5.   

    to xylegend(晓逸) :是对的, 因为 
    $language = "chs";  putenv("LANGUAGE=".$language); echo getenv("LANGUAGE");   //显示的是chs
      

  6.   

    xuzuning(唠叨) 说的有道理! 但,win底下有没有其他的方法实现(或类似于)unix下gettext功能的东东?