PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, July 3, 2022

[FIXED] How to run php with XAMPP's apache?

 July 03, 2022     css, localhost, php, xampp     No comments   

Issue

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.

This is the image

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


Solution

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?



Answered By - TORAHTECH
Answer Checked By - Pedro (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing