課程
/后端開發(fā)
/ThinkPHP
/快速入門ThinkPHP 5.0--基礎(chǔ)篇
如果通過phpstudy,該怎么操作呢
2019-03-12
源自:快速入門ThinkPHP 5.0--基礎(chǔ)篇 2-2
正在回答
不用 樓上說的那么麻煩? 添加站點(diǎn)指定到public? 目錄 然后更改host文件 添加和你一樣的站點(diǎn)域名 最后進(jìn)行訪問就可以
先設(shè)置一個(gè)自己的站點(diǎn)指向thinkphp/public
然后打開hosts,把自己的站點(diǎn)加進(jìn)去。如果hosts為空,就把下面的代碼復(fù)制進(jìn)去,改好自己的域名就行了。
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
127.0.0.1 www.gohosts.com
找個(gè)視頻看看,一般就設(shè)置域名管理和host就夠了
舉報(bào)
ThinkPHP5已發(fā)布多時(shí),想了解ThinkPHP5的新特性嗎?老司機(jī)帶你馬上出發(fā)~
3 回答phpstudy該怎么訪問
3 回答怎么通過wamp使用thinkPHP5
3 回答phpstudy
1 回答phpstudy 怎么運(yùn)行這個(gè)think php
1 回答phpstudy怎樣安裝tp5
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2019-08-13
不用 樓上說的那么麻煩? 添加站點(diǎn)指定到public? 目錄 然后更改host文件 添加和你一樣的站點(diǎn)域名 最后進(jìn)行訪問就可以
2019-03-18
先設(shè)置一個(gè)自己的站點(diǎn)指向thinkphp/public
然后打開hosts,把自己的站點(diǎn)加進(jìn)去。如果hosts為空,就把下面的代碼復(fù)制進(jìn)去,改好自己的域名就行了。
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
#
127.0.0.1 localhost
127.0.0.1 www.gohosts.com
2019-03-13
找個(gè)視頻看看,一般就設(shè)置域名管理和host就夠了