My web host wants me to edit php.ini so I can disable safe mode. No problem. The question is if I should only do it via SSH or, since I have a root ftp user/pass and can view the php.ini when I ftp, can I do it that way or is it dangerous to edit it via ftp (I use Coda, a web development tool for mac)
Just curious to see how the results would differ between ftp edit via root and SSH
It’s very much more dangerous. FTP is a plain text protocol. You will be sending your root password over multiple networks in plain text that anyone watching can read.
You should be logging in to SSH, to a non-administrator account, using an authentication key. Then you can temporarily raise yourself to root access to make the change.