<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                [TOC] ## 概述 windows 環境下 nginx 與 php-fpm 配合 ## 1.安裝 nginx 用nginx 安裝 ``` choco install nginx -y ``` 設置配置文件 需要使用覺得路徑 ``` http { ... include C:/tools/nginx-1.21.6/conf/vhosts/*.conf; } ``` 在 vhost/xxx.conf ``` server { listen 80; server_name localhost; root you_root_path; #charset koi8-r; #access_log logs/yun_zhong_can.access.log main; location / { index index.html index.htm index.php; } error_page 404 /404.html; error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } } ``` ## 2.安裝 php ## 方式一 ``` choco install php-service --version=7.4.13 ``` ## 方式二 **1.安裝 php** ``` choco install php --version=7.4.28 -y ``` **2.php 注冊成服務** 參考 https://github.com/sheggi/win-service-php-cgi 1. 先下載 [winsw](https://github.com/winsw/winsw/releases) 并改名為 `php-cgi-service.exe` 2. 添加配置文件 php-cgi-service.xml ``` <service> <id>PHP</id> <name>PHP</name> <description>PHP</description> <executable>php-cgi.exe</executable> <stopexecutable>php-cgi-stop.bat</stopexecutable> <env name="PHPRC" value="C:\tools\php81" /> <logpath>LOGFILES</logpath> <log mode="roll"></log> <arguments>-b 127.0.0.1:9000</arguments> </service> ``` 3. 注冊服務 ``` php-cgi-service install ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看