changing php.ini using ssh
Posted on 2012-03-23
I have a dedicated server with my host but when I try to upload a plugin or theme, I get this error:
The uploaded file exceeds the upload_max_filesize directive in php.ini.
Now, according to my host, I have to use ssh to edit the php.ini file. I'm assuming by increasing that max filesize in that file, that error will go away.
I'm unfamiliar with using ssh but what I want to do is change the php.ini file in root so that all of my website accounts on my box have increased max file size. I'm using cpanel so what are the steps to opening and editing that file. I'm assuming I use vi to make changes?