Apache SuEXEC + Fcgi = No write permissions

yoni5002

Registered
Jan 24, 2013
2
0
1
cPanel Access Level
Root Administrator
Hello guys,

I need someone to help me because I have this issue driving me nuts. I'm running cPanel on CENTOS 6.3 x64, Easyapache => fgcid and Apache suEXEC. I have an account named SAMPLE.

When I check my installation . exec('whoami'); tells me that PHP is running under user SAMPLE. The problem is that I cannot write into that user folder when hosting for example Wordpress or using a plugin or anything for that matter. I have also check the SAMPLE folder permissions (755 and 644 for files). The user owns its folder and permissions are correct as far as I can tell.

Why is it that users are unable to write into their own folder then?
 

yoni5002

Registered
Jan 24, 2013
2
0
1
cPanel Access Level
Root Administrator
What does this mean exactly? Are you getting any error messages?
I meant to say that the user running under apache didn't have permissions to write into its own folder.

For example user1 wordpress site couldn't write into user1 wordpress folder. I solved it by going into CGI Center and using single CGI wrapper (The CGI wrapper will allow you to run CGI scripts with your user ID.)