簡體   English   中英

從主機訪問虛擬 linux 機器上的 PHP 網站

[英]Access PHP website on virtual linux machine from host machine

我已經在虛擬機 (VMWare) 上安裝了 Ubuntu Server 10,並且設置了 LAMP 堆棧。 Everything runs fine when I go to "mysitename" in Firefox on the linux virtual machine, but when I try to access it on my windows machine, it only gives me the HTML in my.php file, and does not execute the PHP. 誰能提供一些建議? 我猜這將是一個 apache 設置,但我不確定。

您正在從 Windows 機器訪問什么 URL? 當您從 Linux 訪客訪問 PHP 文件時,您確定它實際上被解釋了嗎?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM