<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>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                注意:以下步驟請根據實際需要進行適當修改。 **安裝運行環境** 下載安裝 [Xmapp](http://rj.baidu.com/soft/detail/12489.html) 或 [WampServer](http://rj.baidu.com/soft/detail/10636.html) 或 [phpStudy](http://www.phpstudy.net/a.php/211.html) 。 推薦使用phpStudy這個集成環境,集自定義版本、版本切換和多Server類型于一體。 **下載CMS** * 使用 [Composer](http://www.hmoore.net/thinkphp/composer) 安裝 直接運行【composer create-project newday-me/think-cms C:/www/cms】即可。 * 下載完整代碼包 從【 http://cms.newday.me/download.html 】下載壓縮包,然后解壓到C:/www/cms。 **配置域名** 首先在【C:\Windows\System32\drivers\etc\hosts】里增加一條host記錄。 ~~~ 127.0.0.1 www.domain.com ~~~ 測試中發現,phpStudy里的rewrite規則會不生效,解決辦法為:修改【public/.htaccess】文件,替換規則。 ~~~ RewriteRule ^(.*)$ index.php/?s=$1 [QSA,PT,L] ~~~ * Xmapp 編輯【C:\xampp\apache\conf\extra\httpd-vhosts.conf】,追加域名配置。 ~~~ <VirtualHost *:80> ServerName www.domain.com DocumentRoot "C:/www/cms/public" <Directory "C:/www/cms/public"> Options FollowSymLinks ExecCGI DirectoryIndex index.html index.htm index.php AllowOverride all Order Deny,Allow Allow from all Require all granted </Directory> </VirtualHost> ~~~ * WampServer 編輯【C:\wamp\bin\apache\apache2.4.23\conf\extra\httpd-vhosts.conf】,追加域名配置。 ~~~ <VirtualHost *:80> ServerName www.domain.com DocumentRoot "C:/www/cms/public" <Directory "C:/www/cms/public"> Options FollowSymLinks ExecCGI DirectoryIndex index.html index.htm index.php AllowOverride all Order Deny,Allow Allow from all Require all granted </Directory> </VirtualHost> ~~~ * phpStudy 如果是【nginx + php】,則編輯【C:\phpStudy\nginx\conf\vhosts.conf】,追加域名配置。 ~~~ server { listen 80; server_name www.domain.com; root "C:/www/cms/public"; location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; } index index.html index.htm index.php; } 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; } } ~~~ 如果是【apache+php】,則編輯【C:\phpStudy\Apache\conf\vhosts.conf】,追加域名配置。 ~~~ <VirtualHost *:80> ServerName www.domain.com DocumentRoot "C:/www/cms/public" <Directory "C:/www/cms/public"> Options FollowSymLinks IncludesNOEXEC Indexes DirectoryIndex index.html index.htm index.php AllowOverride all Order Deny,Allow Allow from all Require all granted </Directory> </VirtualHost> ~~~ **安裝數據庫** * 自動安裝 部署好CMS文件后,直接訪問 http://www.domain.com/install.html ,輸入數據庫和用戶信息然后點擊安裝。 如果提示【manage_editor未定義】這種錯誤,先刪除【application\manage\view\common\base.html】里的【$manage_editor】變量,安裝完成后再恢復。 * 手動安裝 使用工具連接數據庫,創建庫并導入database/database.sql文件。 拷貝database/database.php文件到application/extra/database.php,手動修改application/extra/database.php。 * Migration安裝 拷貝database/database.php文件到application/extra/database.php,手動修改application/extra/database.php。 然后在主目錄下運行命令【php think migrate:run】,然后【php think migrate:breakpoint】創建斷點。 如果不需要文章模塊,可以先刪除application/migrations里創建和初始化文章數據的migration,再運行上述命令。
                  <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>

                              哎呀哎呀视频在线观看