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!

File creation from PHP (ownership problem)

Discussion in 'General Discussion' started by dexim, Nov 26, 2004.

  1. dexim

    dexim Registered

    Joined:
    Aug 19, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    UA
    Hello,
    I have a problem with file ownership. I have installed Apache 1.3.33 with suEXEC module and
    PHP 4.3.9.
    When file created from .php script owner is set to nobody, but I need that owner must set to user ownership.

    In Virtualhost I have set User and Group.
    Why it's not working?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. richy

    richy Well-Known Member

    Joined:
    Jun 30, 2003
    Messages:
    276
    Likes Received:
    1
    Trophy Points:
    168
    When you ran easyapache did you enable phpSuExec support then?
     
  3. dexim

    dexim Registered

    Joined:
    Aug 19, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    UA
    When I enable phpSUEXEC I got error 500 (Server internal error).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. dexim

    dexim Registered

    Joined:
    Aug 19, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    UA
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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