How to Recompile apache and php via command line ?

Started by Dipak Bhoi, July 28, 2014, 04:04:42 PM

Previous topic - Next topic

Dipak Bhoi

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 !!
MilesWeb - 30-Day Money Back
cPanel Web Hosting - cPanel Hosting in India
Grab a Free SSL for your website.  WordPress Optimized Solution.