99.9% of the time, this error is caused by either uploading in binary instead of ASCII or by incorrect file permissions (not chmod 755).
Often you can gather more information by looking at your raw error log in Cpanel. (under the 'stats' header in Cpanel, look for the link that says 'error log' to get to those)