1 00:00:01,250 --> 00:00:09,230 Now that we have my tool installed we can install ph p p p is a powerful widely adopted programming 2 00:00:09,230 --> 00:00:15,730 language that allows you to serve web content that is dynamic and interact with your users. 3 00:00:17,330 --> 00:00:24,650 With HP integration you can communicate with your minus Cuil databases to execute tasks such as inserting 4 00:00:24,860 --> 00:00:26,770 updating or retrieving data. 5 00:00:29,170 --> 00:00:36,200 Before we begin installation you'll need to exit my as you will to type typing exit and press enter 6 00:00:42,820 --> 00:00:45,380 to start the installation process for Ph. 7 00:00:45,550 --> 00:00:46,830 Type in the following command 8 00:00:59,040 --> 00:01:01,580 type in y if the prompt and press enter. 9 00:01:21,940 --> 00:01:28,180 So that's really all there is to it for installing ph P for the changes to take effect. 10 00:01:28,180 --> 00:01:32,530 We'll go ahead and restart our apostacy server by typing the following command. 11 00:01:41,170 --> 00:01:44,290 And press enter. 12 00:01:44,470 --> 00:01:49,220 We can now go ahead and test our HP configuration to make sure it's working properly. 13 00:01:50,950 --> 00:01:58,960 To do this will create a file called Infocom ph P and place it in our default HMO directory. 14 00:01:59,150 --> 00:02:06,740 The file that we'll be creating contains a basic script that displays data about our P.H. configuration. 15 00:02:06,960 --> 00:02:10,210 So you can create this file by running the following command. 16 00:02:18,420 --> 00:02:23,250 So Nano is the text editor that we use. 17 00:02:25,340 --> 00:02:31,510 OK the HDMI directory that's the default directory that she serves. 18 00:02:31,520 --> 00:02:38,430 Our web content from that will change when we create virtual hosts for multiple domains. 19 00:02:38,780 --> 00:02:46,570 But for now that is the default directory and Infocom ph is the file We're going to be creating. 20 00:02:46,580 --> 00:02:52,490 So press enter and now we're in N.A. text editor. 21 00:02:52,550 --> 00:02:58,690 So the next thing to do here is just pasting a bit of code into this file 22 00:03:02,200 --> 00:03:03,600 so a bit of code 23 00:03:08,990 --> 00:03:17,890 and this command here ph in full that is what's going to display the information about DHP on our server. 24 00:03:17,910 --> 00:03:22,080 When we load this page on our web browser. 25 00:03:22,270 --> 00:03:28,200 So after you've typed in this code you need to save this file and to do that and when to hold control 26 00:03:28,200 --> 00:03:28,860 down. 27 00:03:29,650 --> 00:03:38,880 And press X now it's going to ask me if I want to save the changes from the type in Y and I'm going 28 00:03:38,880 --> 00:03:42,170 to press enter to write the changes this file. 29 00:03:42,660 --> 00:03:43,170 And there we go 30 00:03:47,680 --> 00:03:47,930 OK. 31 00:03:47,930 --> 00:03:52,130 So now what we can do is open your browser again. 32 00:03:59,970 --> 00:04:03,000 Type in slash Infocom ph. 33 00:04:05,020 --> 00:04:09,730 And this is the file that should load as long as everything is working correctly. 34 00:04:11,840 --> 00:04:20,290 So it says the HP version and a whole bunch of other information about your HP configuration. 35 00:04:20,320 --> 00:04:28,480 One important point to mention here is you want to delete this file for your production server because 36 00:04:28,480 --> 00:04:34,010 it does contain a lot of information about your configuration that you wouldn't necessarily want. 37 00:04:34,330 --> 00:04:36,790 You wouldn't want this information in the wrong hands. 38 00:04:37,720 --> 00:04:39,360 So I'll go ahead and delete this file. 39 00:04:45,450 --> 00:04:55,610 So to do that just type in the following command it's the r.m and then point to the file on our server. 40 00:04:55,610 --> 00:04:59,030 So what that will do is it will remove it as soon as we execute it. 41 00:04:59,600 --> 00:05:04,420 So press ENTER NOW when I try to load that it's no longer found.