MilesWeb Hosting Forum

Web Hosting Technical Support => How To's => Topic started by: Dipak Bhoi on July 28, 2014, 04:04:42 PM

Title: How to Recompile apache and php via command line ?
Post by: Dipak Bhoi on July 28, 2014, 04:04:42 PM
Hello guys,

If you wish to recompile easyapache via ssh then follow the following steps.

For security reason, try to run easy apache script through screen

Quoteroot@mysrvr[~]#screen

If you have not installed screen then use yum to install screen

Quoteroot@mysrvr[~]#yum install screen

Once screen installation completed.

Quoteroot@mysrvr[~]#/scripts/easyapache

Select  'Start customizing based on profile'.

On the second page (Apache Version), select apache version. Then  'Next Step'.

On the third page (PHP Major Version) select the version of php you want, click 'Next step' if you are unsure.

On the forth page (PHP Minor version) select the version of php you want, click 'Next step' if you are unsure.

On the fifth page (Exclusive options list)

After select Save and Build, use blow command to jumb from screen.

Click Ctr+ad

this will run background on your screen.

Use this below command to resume screen.

screen -r <screen id >

Enjoy !!