久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      分享學(xué)習(xí):TP6項(xiàng)目搭建小記錄

      下面thinkphp框架教程欄目將給大家分享一個(gè)thinkphp6 項(xiàng)目搭建小記錄,希望對(duì)需要的朋友有所幫助!

      分享學(xué)習(xí):TP6項(xiàng)目搭建小記錄

      thinkphp6 項(xiàng)目搭建記錄

      第一步:創(chuàng)建項(xiàng)目

      composer create-project topthink/think "項(xiàng)目名稱"

      第二步:配置數(shù)據(jù)庫鏈接

      修改 .env 文件

      [DATABASE]TYPE = mysqlHOSTNAME = 127.0.0.1DATABASE = 數(shù)據(jù)庫USERNAME = 用戶PASSWORD = 密碼HOSTPORT = 3306CHARSET = utf8DEBUG = true

      第三步:配置偽靜態(tài)

      Apache

      <IfModule mod_rewrite.c>Options +FollowSymlinks -Multiviews RewriteEngine On  RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?s=$1 [QSA,PT,L]</IfModule>SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

      nginx

      location / {  if (!-e $request_filename) {          rewrite  ^(.*)$  /index.php?s=/$1  last;   }}

      推薦:《最新的10個(gè)thinkphp視頻教程》

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)