zoukankan      html  css  js  c++  java
  • php 配置

    IIS7

    1、IIS要启用CGI功能,在设置IIS的时候有此选项。

    2、IIS下,在所要配置的网站下,或者虚拟目录下选择处理程序映射,然后点击打开功能。

    3、添加模块映射,在出来的对话框对应配置

      1)请求路径:*.php。

      2)模块:FastCgiModule。

      3)可执行文件:php所在目录下的php-cgi.exe。

      4)名称:随意起到标识作用的名称。

    4、使用phpinfo()函数查看文件信息,先在php解压目录下设置php。ini,将其中的 date.timezone= "Asia/Shanghai"。

      检查项目是否正确

    System Windows NT XIXI-PC 6.1 build 7601 (Windows 7 Ultimate Edition Service Pack 1) AMD64
    Build Date Feb  5 2014 10:59:06
    Compiler MSVC11 (Visual C++ 2012)
    Architecture x64
    Configure Command cscript /nologo configure.js  "--enable-snapshot-build" "--enable-debug-pack" "--disable-zts" "--disable-isapi" "--disable-nsapi" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=C:php-sdkoracleinstantclient10sdk,shared" "--with-oci8=C:php-sdkoracleinstantclient10sdk,shared" "--with-oci8-11g=C:php-sdkoracleinstantclient11sdk,shared" "--with-enchant=shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--disable-static-analyze" "--with-pgo"
    Server API CGI/FastCGI
    Virtual Directory Support disabled
    Configuration File (php.ini) Path C:Windows
    Loaded Configuration File C:PHPPHPphp.ini
  • 相关阅读:
    如何在Mac OS X上安装 Ruby运行环境
    CocoaPods安装和使用教程
    【Objective-C】07-自定义构造方法和description方法
    window cmd 命令大全 (order)
    vue methods 方法中 方法 调用 另一个方法。
    js ---- 函数防抖
    three.js 运行3D模型
    点击保存网页 (及页面的数据)
    js -- canvas img 封装
    js -- 分页功能
  • 原文地址:https://www.cnblogs.com/theonewu/p/3550842.html
Copyright © 2011-2022 走看看