After a recent upgrade from PHP 5.2 to PHP 5.2 on a CentOS Linux server I ran into some issues with a couple applications I had installed. One of the errors I noticed was generated by set_magic_quotes_runtime function which was deprecated in PHP 5.3. Fixing this error is easy by modifying any PHP files that include set_magic_quotes_runtime as shown in the below example.
After moving a WordPress site from one server to a brand new server I ran into an issue with one of the WordPress plugins called MM-Forms. The MM-Forms WordPress plugin allows you to easily create contact forms that will either email filled out forms to you, store those forms in the MySQL database, or both email you and store the results in the database. The issue was the fact that the contact form was not displaying on the page it was configured to display on. After digging around a bit I located the issue by looking in the Apache logs. The issue ended up being with the PHP function called imagetypes. Below I describe the actual error noticed in the Apache logs, the CentOS RPM package that will provide the PHP function that was missing, and the yum logs from installing the package.