Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

How to Work Stated on PHP

Install XAMPP on your PC to quickly create web applications with PHP database.

If you want to create a dynamic web page using the first step, then first you write a code and have some knowledge of the matter and the case.

Setting Up a Local Web Server

The first script you want to execute code on the first web server running.
So before you start writing first programming, you have to install the following program on your computer.

  • The Apache Web server
  • The PHP engine
  • The MySQL database server

Xampp is a Windows web development environment. It allows you to create web applications with Apache 2, PHP and MySQL database.

It will also provide the Mascal Safeguard tool PhpMyAdmin to easily access your database using a web browser.

Creating Your First PHP Script

First install XAMPP on your computer

Now that you have successfully installed WampServer on your computer. In this section we will create a very simple PHP script that displays the text “Hello, world!” in the browser window.Now we have created an easy access page “Hello World!” In the browser window.

Now open your code editor and create a new first file by typing the code below

Example

After this, now file your files in the project folder as “index.pah” (location on s: \ samapp \ world \ project),And go to this URL and check your browser results. http://loclost/dharmu/index.php

In a way, you can access the “index.app” file by selecting the localhost.
And then you can select the project folder from the menu on the taskbar.

In a way, you embed the address inside the html web page, by this you can understand that your html file Inside you can write the first code,

Like I have given the example below

Example

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)