Installation: rpm -Uvh http://mirror.centos.org/centos/6/os/x86_64/Packages/mc-4.7.0.2-3.el6.x86_64.rpm
You can now use the command: mcedit filename.php
Installation: rpm -Uvh http://mirror.centos.org/centos/6/os/x86_64/Packages/mc-4.7.0.2-3.el6.x86_64.rpm
You can now use the command: mcedit filename.php