<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之旅 廣告
                :-: **項目安裝說明** * * * * * 最簡單使用方法如下: 不會使用composer的請加入QQ群641289652,群內有最新的整個項目下載 * * * * * 會使用composer的采用如下操作方式 ~~~ //如果沒有配置composer的根源目錄 composer config -g repo.packagist composer https://packagist.laravel-china.org //創建一個thinkphp5.1的項目 composer create-project topthink/think 您的項目名稱 //進入剛才創建的目錄 cd ./您的項目名稱 //安裝依賴 composer require yirius/icesadmin //通常情況下會安裝如下依賴,icesadmin/think-captcha/icesjwt //如果項目存在網絡請求,可以在安裝一下http依賴 composer require yirius/iceshttp ~~~ 然后需要配置apache的vhost或者對nginx進行nginx -s reload nginx配置范例 ~~~ server { listen 80; server_name www.myproj.test; error_log E:/xampp/htdocs/myproj/error.log; root E:/xampp/htdocs/myproj/public/; index index.php index.html index.htm; location / { if (!-e $request_filename) { rewrite ^/(.*)$ /index.php/$1 last; break; } } #如果項目不需要用到圖片未找到重寫功能,可以取消注釋 #location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { # expires 100d; #} location ~ .*\.(js|css)?$ { expires 30d; } 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; include fastcgi.conf; set $fastcgi_script_name2 $fastcgi_script_name; if ($fastcgi_script_name ~ "^(.+\.php)(/.+)$") { set $fastcgi_script_name2 $1; set $path_info $2; } fastcgi_param PATH_INFO $path_info; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name2; fastcgi_param SCRIPT_NAME $fastcgi_script_name2; } } ~~~ nginx線上最好配合xxfpm使用,防止php-fpm進程崩潰 * * * * * > 前方都配置好了之后可以進行項目配置 1. 首先需要進入項目目錄下的config目錄內 ~~~ 1.1 按照自定項目要求,本地開發調試需要配置如下項目 1.2 config/app.php 內app_debug設置為true 1.3 config/log.php 內level設置為["error"] 1.4 config/database.php 內配置本地mysql數據庫 1.5 config/icesadmin.php 為本項目后臺架構設置,后續會說明 1.6 根據項目是否配置了redis來選擇配置config/session.php和cache.php ~~~ 2. 如果確定config/database.php配置完成可以正常訪問數據庫 ~~~ 2.1 利用phpstorm打開該項目 2.2 待phpstorm的indexing完成后,點擊左下角terminal,打開命令行窗口 2.3 首先測試php think是否可以正常執行,如不能,請參考thinkphp5.1配置手冊 2.4 如果可以正常運行,輸入 php think ices:init 該操作為建立數據庫對應基礎sql 2.5 然后運行 php think ices:assets 該操作為向public目錄復制相關的需要文件 ~~~ * * * * * 至此安裝完成,可以開始開發了
                  <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>

                              哎呀哎呀视频在线观看