I was trying to change the file size so I could upload hold music (file too large) and I think I hit a space bar or character by accident. I closed out the SSH session but now when I log back in, I get this message:
Found a swap file by the name “/etc/.php.ini.swp”
owned by: root dated: Tue Mar 8 14:13:11 2022
file name: /etc/php.ini
user name: root host name: freepbx.sangoma.local
process ID: 16565
While opening file “/etc/php.ini”
dated: Thu Sep 3 03:10:02 2020
(1) Another program may be editing the same file. If this is the case,
be careful not to end up with two different instances of the same
file when making changes. Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use “:recover” or “vim -r /etc/php.ini”
to recover the changes (see “:help recovery”).
If you did this already, delete the swap file “/etc/.php.ini.swp”
to avoid this message.
“/etc/php.ini” [noeol] 1808L, 65404C
Press ENTER or type command to continue
So I think I want to delete the swap file right? I don’t want to save any changes. If so, how do I do that, what is the exact syntax from the SSH command line?
And then once that is done, what is the exact syntax to change the file size to allow me to upload my on hold music?
I’m a noob. Thanks.