亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

如果通過phpstudy,該怎么操作呢

如果通過phpstudy,該怎么操作呢

正在回答

3 回答

不用 樓上說的那么麻煩? 添加站點指定到public? 目錄 然后更改host文件 添加和你一樣的站點域名 最后進行訪問就可以


0 回復 有任何疑惑可以回復我~

先設置一個自己的站點指向thinkphp/public

然后打開hosts,把自己的站點加進去。如果hosts為空,就把下面的代碼復制進去,改好自己的域名就行了。


# 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



0 回復 有任何疑惑可以回復我~

找個視頻看看,一般就設置域名管理和host就夠了

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
快速入門ThinkPHP 5.0--基礎篇
  • 參與學習       58786    人
  • 解答問題       516    個

ThinkPHP5已發布多時,想了解ThinkPHP5的新特性嗎?老司機帶你馬上出發~

進入課程

如果通過phpstudy,該怎么操作呢

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號