Error message when trying to upload a php file

I am getting this error when trying to change a picture/link on my home page: Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.