tp 01 搭建過程

2022-09-18 09:27:21 字數 360 閱讀 7985

1:拷貝thinkphp框架系統資料夾自己的www目錄中的tp-shop資料夾中

2:新建自己的專案檔案(比如:shop)夾與thinkphp框架系統資料夾在同一級目錄(當然也可以不同)

3: 在tp-shop目錄下建立index.php並且在頁面中引入thinkphp資料夾中thinkphp.php檔案

include '../thinkphp/tinkphp.php';

4: 訪問路徑  http://localhost/tp-shop/shop/index.php   出現歡迎介面表示引入成功!

tp 01 搭建過程

1 拷貝thinkphp框架系統資料夾自己的www目錄中的tp shop資料夾中 2 新建自己的專案檔案 比如 shop 夾與thinkphp框架系統資料夾在同一級目錄 當然也可以不同 3 在tp shop目錄下建立index.php並且在頁面中引入thinkphp資料夾中thinkphp.php檔...

搭建tp5隨記

基於nginx 在vhost的檔案中 server error page 404 404.html redirect server error pages to the static page 50x.html error page 500 502 503 504 50x.html location...

PHP PHP環境搭建 01

問題 apache 伺服器啟動之後,localhost 能訪問啟動項,但 127.0.0.1 卻不能。解決辦法 1.開啟apache安裝路徑中的http.conf檔案,找打以下內容 1 onlineoffline tag don t remove 2 order deny,allow 3deny f...