MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: How to Recompile apache and php via command line ?  (Read 3627 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipak Bhoi

  • MilesWeb Team Member
  • Full Member
  • ***
  • Posts: 208
  • Karma: +5/-0
    • View Profile
    • MilesWeb Internet Services
How to Recompile apache and php via command line ?
« 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

Quote
root@mysrvr[~]#screen

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

Quote
root@mysrvr[~]#yum install screen

Once screen installation completed.

Quote
root@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.com
cPanel Hosting in India - cPanel Hosting in India.

Grab an SSL for your website and SAVE 20% now. Coupon Code SSLSAVE20.

MilesWeb Hosting Forum

How to Recompile apache and php via command line ?
« on: July 28, 2014, 04:04:42 PM »