修改wampserver根目錄問(wèn)題
已經(jīng)按老師說(shuō)的更改了根目錄,但還是顯示
Not Found
The requested URL /test.php was not found on this server.
Apache/2.4.18 (Win32) PHP/5.6.19 Server at localhost Port 80
如果把test.php移動(dòng)到與index.php同一目錄下才會(huì)顯示成功,為什么???
已經(jīng)按老師說(shuō)的更改了根目錄,但還是顯示
Not Found
The requested URL /test.php was not found on this server.
Apache/2.4.18 (Win32) PHP/5.6.19 Server at localhost Port 80
如果把test.php移動(dòng)到與index.php同一目錄下才會(huì)顯示成功,為什么???
2016-07-26
舉報(bào)
2016-07-28
新版本更換根目錄的應(yīng)該是完成老師所說(shuō)的之后還要把httpd-vhosts.conf的配置打開(kāi),要同時(shí)修改httpd-vhosts.conf 下的項(xiàng)目路徑,修改如下:打開(kāi)wamp安裝目錄下對(duì)的\bin\apache\apache2.4.18\conf\extra\httpd-vhosts.conf文件:修改DocumentRoot ?和Directory ?的文件路徑
2016-07-27
同樣都是重啟了的
2016-07-27
遇見(jiàn)同樣的問(wèn)題,確保重啟
2016-07-26
同學(xué)你重啟程序了嗎