NationWebHost
Active Member
In this tutorial I will teach you how to compile PHP and Apache with addons.
Login to SSH and type in:
/scripts/easyapache
Once that has loaded you will get an output like this:
We want PHP Security. Use the down arrow button to go down and enter to select. Once you have selected PHP Security, press TAB and then use the right button to hover on 'Start customizing based on profile' and Enter to continue.
Next we will be prompt with which version of Apache we would like to run. I would recommend Apache 2.2 because it is the latest version should run faster than 1.3 and 2.0. Press tab and press enter on Next Step.
We will yet again be prompted. This time it is for which version of PHP we would like to run. I would again recommend the latest version. Hit tab and select Next Step. You will be asked in more detail which version of PHP you wish to run, I am currently running 5.2.9 and for this tutorial that is what we will be using. Tab, next step.
A list of short options will be displayed. Here is what I have enabled:
I suggest you enable to the same unless required software requires anything else on the list.
Tab, Exhaustive Options list.
I am going to screen the next 14 pages. You may select more than what I have if required. I would keep the amount of options you select as low as possible as enabled more than you need can open up your server to more vulnerabilities.
For ^, you can enter any Save As, Profile Name and description name.
Tab, Next step.
Save and Build.
PHP and Apache should now recompile with the addons you have selected.
Login to SSH and type in:
/scripts/easyapache
Once that has loaded you will get an output like this:
We want PHP Security. Use the down arrow button to go down and enter to select. Once you have selected PHP Security, press TAB and then use the right button to hover on 'Start customizing based on profile' and Enter to continue.
Next we will be prompt with which version of Apache we would like to run. I would recommend Apache 2.2 because it is the latest version should run faster than 1.3 and 2.0. Press tab and press enter on Next Step.
We will yet again be prompted. This time it is for which version of PHP we would like to run. I would again recommend the latest version. Hit tab and select Next Step. You will be asked in more detail which version of PHP you wish to run, I am currently running 5.2.9 and for this tutorial that is what we will be using. Tab, next step.
A list of short options will be displayed. Here is what I have enabled:
I suggest you enable to the same unless required software requires anything else on the list.
Tab, Exhaustive Options list.
I am going to screen the next 14 pages. You may select more than what I have if required. I would keep the amount of options you select as low as possible as enabled more than you need can open up your server to more vulnerabilities.
For ^, you can enter any Save As, Profile Name and description name.
Tab, Next step.
Save and Build.
PHP and Apache should now recompile with the addons you have selected.