PDA

View Full Version : modification



Rusher
2010-08-31, 10:50 AM
If I'm logged in to WHM, how do I modify the php.ini file from there?

suwunk
2010-09-03, 01:57 PM
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.”