謝謝
我按照你的方法
1 。 先是建立新的站點目錄 (我把這個站點目錄放在數據盤上,不是系統盤)
2 。 然後將 PHP 的代碼 (已經改成了自己的 URL 和站點目錄位置) 放置到子主題的低下
3 。 結果,刷新網頁後,出現了這個 Warning: realpath(): open_basedir restriction in effect. File(/data2) is not within the allowed path(s): (/www/wwwroot/xianyuhub.com/:/tmp/) in /www/wwwroot/xianyuhub.com/wp-includes/functions.php on line 2055