I have upgraded my PHP from version 5.3 to 5.4 via yum which requires upgrading Apache from version 2.2 to 2.4. After doing configuration, it turns out that the userid and groupid is still using the global user/group which is "apache".
SuexecUserGroup user-name group-name
AddHandler fcgid-script .php
FcgidWrapper /path/to/webroot/php-fcgi-scripts/php-fcgi-starter .php
Allow from all
LoadModule suexec_module modules/mod_suexec.so
I would appreciate if anyone could advise what was I missed.