简体   繁体   中英

How to run php with XAMPP's apache?

So I have a.php file, I wanted to see it's output. So, I open my xampp. I press the start button 'start' for apache. I go to my browser and type localhost/filename The problem is, instead of seeing the file directory of my computer. I saw the output of my php. I thought it was something that I shouldn't be concerned about but then when I do some changes to my code, and I refresh my output on the browser nothing happens like nothing changes even though I erase the.css file in my php code.

这是图像

See the link and yeah, I type the directory but I was directed to my output in instant and my apache doesn't work like this like a month ago. Should I update my apache? or what?

This is xampp for windows

DID YOU open XAMPP Control Panel

DID YOU 'Start' Apache, 'Start' MYSQL

DID YOU click 'Explorer' (right side of window)

DID YOU delete the default index.php file

DID YOU type in your browser 'localhost' and press ENTER?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM