Logo Linux Bash SSH Ubuntu Git Menu
 

running PHP scripts using XAMPP server [closed]

Tags:

xampp

Hii ,

I am a beginner in PHP .I would like to know how one can execute a PHP script using XAMPP server ... ??

Any suggestions ... :)

like image 642
ravi Avatar asked Apr 08 '26 04:04

ravi


1 Answers

Assuming Windows:

Navigate to your "localhost" folder (usally): C:\xampp\htdocs

Create a new folder called "ravi", and inside that folder create a file called: index.php

Put all your PHP code in that index.php file and save the file.

Then, after starting XAMPP, navigate to: http://localhost/ravi/

And you'll see your script running.

Gav