Why does uploading pictures on my RedHat 8.0 system result in an error or scewed picture?
In RedHat 8.0, the default web server is Apache 2.0. Unfortunately, PHP and Apache 2 aren’t very stable together yet, though current versions of PHP and Apache 2 do work relatively well together. However, there is a bug in the version of PHP distributed with RedHat 8.0 that can corrupt uploads. For information on how to fix these errors or scewed pictures, see this thread in the forums. Keep in mind that these are merely workarounds. The best option is to upgrade your PHP version to the latest from http://www.php.