1
00:00:00,510 --> 00:00:07,670
Now we will go to the /var/www/html directory and we are going to create one simple file index.php

2
00:00:07,670 --> 00:00:15,330
only one line php are going to create, we are going to create the code is going to be like this.

3
00:00:15,870 --> 00:00:18,930
Even if you are not comfortable, PHP, you can copy this.

4
00:00:18,930 --> 00:00:20,400
code that mean just one

5
00:00:20,400 --> 00:00:24,360
line that mean we are starting with the PHP section we are closing

6
00:00:24,360 --> 00:00:31,320
Then we want to display one message Echo "Hello hi", then we are ending it with that mean we are just

7
00:00:32,130 --> 00:00:34,950
writing one line code of a PHP.

8
00:00:35,520 --> 00:00:43,390
So with ls, we are going to check this and then we are going to restart the httpd settings.

9
00:00:43,410 --> 00:00:50,400
mean we are going to restart our httpd server that mean we are creating the index.php

10
00:00:50,610 --> 00:00:51,050
file.

11
00:00:51,210 --> 00:01:01,080
So let us go into our master system, now in which directory we are, we are in this /var/www/html directory.

12
00:01:01,320 --> 00:01:07,740
So what we are going to do, we will type the command index.php.

13
00:01:09,000 --> 00:01:13,770
So we are going to specify <?php.

14
00:01:15,210 --> 00:01:19,590
Then echo, we are going to type.

15
00:01:24,330 --> 00:01:24,900
Hello.

16
00:01:28,770 --> 00:01:29,320
Hello.

17
00:01:30,630 --> 00:01:31,140
Hi.

18
00:01:32,210 --> 00:01:39,150
Any message you can type, then we are going to close that mean.

19
00:01:39,170 --> 00:01:44,470
We have written one, almost two three line code we have written.

20
00:01:44,960 --> 00:01:46,790
So we are going to save this.

21
00:01:47,330 --> 00:01:54,170
We can with ls we can verify whether we have created the page or not, the pages is index.php,

22
00:01:54,680 --> 00:01:56,180
we can view that also.

23
00:01:57,860 --> 00:02:03,020
Then again, we are going to check this page is written proper or not.

24
00:02:03,410 --> 00:02:07,640
So let us again read the code, the page is  proper.

25
00:02:08,480 --> 00:02:10,830
Later on, we will be testing this page also.

26
00:02:10,850 --> 00:02:15,370
Now, what we are going to do systemctl.

27
00:02:17,720 --> 00:02:19,310
Restart or reload?

28
00:02:21,230 --> 00:02:23,250
your httpd server.

29
00:02:27,050 --> 00:02:30,990
So we have restarted the server that mean we recreated the page.

30
00:02:31,020 --> 00:02:41,330
So now why we have created the index.php page, why not i.php or vipin.php, why we have created

31
00:02:41,330 --> 00:02:43,000
the index.php.

32
00:02:43,400 --> 00:02:45,050
So that is now our question.
