Top VPS Hosting Provider

Welcome to the myhosting.com Forums.
+ Reply to Thread
Results 1 to 2 of 2

Thread: modification

  1. #1
    Rusher is offline Master Member
    Join Date
    May 2010
    Posts
    544

    Default modification

    If I'm logged in to WHM, how do I modify the php.ini file from there?

  2. #2
    suwunk is offline Super Moderator
    Join Date
    Aug 2010
    Posts
    1,096

    Default

    I prefer using SSH
    Just SSH into your server then
    Log in as root.
    Type the following and hit enter: vi /usr/local/lib/php.ini
    Now that you’re in vi
    Press the “i” key. This puts you in “insert” mode, which basically
    allows you to edit things.
    when you`ve done with modification
    Press escape, then type :wq and hit enter. That says “save the file
    and quit.”


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts