IMPORTANT NOTE: If you have an SSL backend or an SSL (HTTPS) and normal HTTP domain simultaneously you’ll need to complete this for both vhosts, otherwise you will not be able to upload media, themes or plugins when logged in.to your wp-admin.
1. Download and install mod_suphp
Get the RPM: http://rpm.centoshelp.org/el6/mod_suphp/
Command: rpm -ivh http://rpm.centoshelp.org/el6/mod_suphp/mod_suphp-0.7.1-1.el6.cosh.x86_64.rpm
2. Contents of /etc/suphp.conf:
3. Contents of /etc/httpd/conf.d/suphp.conf :
4. Add the following lines in the < Virtualhost > block of the httpd configuration file(s) for affected Virtualhosts running php applications.
5. Chown the documentroot to the user who will be the webmaster
Command: chown -Rf webdev1:webdev1 /var/www/example.com
6. Disable DSO (mod_php)
Command: mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php.conf.disable
7. Restart the web server
Command: service httpd restart
8. If using SSL (https) add the following to your /etc/httpd/conf.d/ssl.conf file
Command: vi /etc/httpd/conf.d/ssl.conf