PHP searches for php.ini in the following locations (in
   order):     * PHPIniDir directive (Apache 2 module only)
     * HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath
     * The PHPRC environment variable
     * Directory of PHP (for CLI), or the web server's directory (for
       SAPI modules)
     * Windows directory (C:\windows or C:\winnt)仔细阅读install.txt

解决方案 »

  1.   

    楼主你的IIS下的PHP是用安装程序安装的吧???
      

  2.   

    你同事机器上的php.ini中的设置与你同事机器环境不相符
      

  3.   

    to hope1983(亢龙有悔浪子回头):
    不是用安装程序安装的。是下载的一个zip包,解压后手工配置的。to xuzuning(唠叨):
    哪些项目不符会出现此种现象?我们两台机器的环境是相似的。
      

  4.   

    我都是放在system32下的,用isapi