久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      php如何設(shè)置站點(diǎn)

      php設(shè)置站點(diǎn)的方法:首先打開文件【httpd-vhosts.conf】并添加相關(guān)代碼;然后找到文件【httpd.conf】,并把【#Include conf/】前的【#】去掉;最后設(shè)置站點(diǎn)名稱即可。

      php如何設(shè)置站點(diǎn)

      php設(shè)置站點(diǎn)的方法:

      1.首先打開apachehttpd-2.4.39-win64-VC15Apache24confextra文件夾下的httpd-vhosts.conf文件,在末尾添加下面代碼,參數(shù)根據(jù)注釋修改。

      #站點(diǎn),8089為端口號(hào)名稱 <VirtualHost *:8089>    #站點(diǎn)名、服務(wù)器名    ServerName localhost    #站點(diǎn)位置    DocumentRoot "E:ProjectWorkphpProject"    <Directory "E:ProjectWorkphpProject">    #當(dāng)請(qǐng)求沒有指定文件的時(shí)候,顯示目錄    Options Indexes    #啟用文件夾訪問控制的文件.htaccess設(shè)置    AllowOverride All    Order allow,deny    allow from all    #請(qǐng)求控制    Require all granted    #默認(rèn)頁面,第一個(gè)最優(yōu)先    DirectoryIndex index.php index.html    </Directory> </VirtualHost>

      2.找到apachehttpd-2.4.39-win64-VC15Apache24conf文件下httpd.conf文件,把#Include conf/extra/httpd-vhosts.conf把前面的#去掉,這是代表開啟,要使用conf/extra/httpd-vhosts.conf這個(gè)文件。

      3.C:WindowsSystem32driversetchosts文件中末尾,找到如下圖所示

      php如何設(shè)置站點(diǎn)

      4.站點(diǎn)配置完成。

      相關(guān)學(xué)習(xí)推薦:php編程(視頻)

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