Use app×
QUIZARD
QUIZARD
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
344 views
in Server Side Scripting Using PHP by (31.4k points)
closed by

What are the additional steps involved to run PHP in your computer?

1 Answer

+1 vote
by (30.9k points)
selected by
 
Best answer

A. Setting up the development environment

  • Step 1: Install a PHP compatible web Server(Eg. Abyss Web Server For Windows)
  • Step 2: Install PHP interpreter.
    After installing the webserver type http:// localhost in the address bar the following screen will be available.

B. Writing and running the script

Take a note pad and type the code , PHP code should begin with <?php and end with ?>. Save this file in the root directory of the web server with extension .php.

Step 1
Take a notepad and type the following and save it as first.php on C:\Abyss Web Server\htdocs.
<?php
echo” My first PHP web page”;
?>

Step 2

Start the webserver if it is off

Step 3

Type as “http://localhost/first.php” in the address bar.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

...