now I try to make file in /home/abc/public_html and it gives Permission denied, but when I give permission to nobody it create file with user "apache" (my default apache user set through User apache in httpd.conf )
If you don't use the User and Group directives in the virtualhost container then suexec defaults to the user Apache runs as. If there's more errors please post error_log lines.
================ If i remember correctly, In apache 2 documentation, USER and GROUP are not required if we are using SuExecUserGroup and hence depericated ... any idea
SElinux is disabled on server
You have disabled SELinux AND you're running PHP. PHP applications can be safely regarded as flawed by default (unless proven otherwise). SELinux (and mod_security) can help you secure your box. If you are going to have PHP code publicly accessable it would be beneficial for you and us to make SELinux work instead of disabling it.
=============== I have disable it to check my application, as SELinux need some extra settings need to be done to make my application work. Don't worry I will open that once I test my application
I need this urgent please
LQ doesn't do "urgent". LQ is a purely volunteer-driven community effort relying on it's members to supply answers when they can, not when you want it. If you want 24/7 realtime dedicated response capabilities please consider hiring a local GNU/Linux guru.
=============== I need this urgent as, if any one has any idea on how to do or any idea that might help please pass that , not necessarily a complete solution
And I am free to get hired myself