Now that we have my tool installed we can install ph p p p is a powerful widely adopted programming
language that allows you to serve web content that is dynamic and interact with your users.
With HP integration you can communicate with your minus Cuil databases to execute tasks such as inserting
updating or retrieving data.
Before we begin installation you'll need to exit my as you will to type typing exit and press enter
to start the installation process for Ph.
Type in the following command
type in y if the prompt and press enter.
So that's really all there is to it for installing ph P for the changes to take effect.
We'll go ahead and restart our apostacy server by typing the following command.
And press enter.
We can now go ahead and test our HP configuration to make sure it's working properly.
To do this will create a file called Infocom ph P and place it in our default HMO directory.
The file that we'll be creating contains a basic script that displays data about our P.H. configuration.
So you can create this file by running the following command.
So Nano is the text editor that we use.
OK the HDMI directory that's the default directory that she serves.
Our web content from that will change when we create virtual hosts for multiple domains.
But for now that is the default directory and Infocom ph is the file We're going to be creating.
So press enter and now we're in N.A. text editor.
So the next thing to do here is just pasting a bit of code into this file
so a bit of code
and this command here ph in full that is what's going to display the information about DHP on our server.
When we load this page on our web browser.
So after you've typed in this code you need to save this file and to do that and when to hold control
down.
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
to press enter to write the changes this file.
And there we go
OK.
So now what we can do is open your browser again.
Type in slash Infocom ph.
And this is the file that should load as long as everything is working correctly.
So it says the HP version and a whole bunch of other information about your HP configuration.
One important point to mention here is you want to delete this file for your production server because
it does contain a lot of information about your configuration that you wouldn't necessarily want.
You wouldn't want this information in the wrong hands.
So I'll go ahead and delete this file.
So to do that just type in the following command it's the r.m and then point to the file on our server.
So what that will do is it will remove it as soon as we execute it.
So press ENTER NOW when I try to load that it's no longer found.