Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Apache SuEXEC + Fcgi = No write permissions

Discussion in 'EasyApache' started by yoni5002, Jan 24, 2013.

  1. yoni5002

    yoni5002 Registered

    Joined:
    Jan 24, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    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?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:

    What does this mean exactly? Are you getting any error messages?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. yoni5002

    yoni5002 Registered

    Joined:
    Jan 24, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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.)
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice