Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2009
    Posts
    35

    Unhappy apache taking over ownership

    hello there
    i am running a vps using lxadmin
    but lately a problem started occuring that is killing my sites

    for example
    when using my joomla to install something
    when accessing it via ftp i dont have the ownership to chane anything in it
    because when navigating via the file manager to it i get that the owner is apache instead of admin ( my default ftp user )

    how can i solve that ?

    regards
    ahmed

  2. #2
    Join Date
    Nov 2009
    Posts
    70
    This is because PHP is running as an Apache module therefore anything you upload via your script will be owned as Apache.

    You can adjust this by installing/enabling something like SuPHP which will allow you to run PHP as your user or allow you to specify a user for PHP to run as.

    http://www.suphp.org/Home.html
    Last edited by ldougherty; 11-19-2009 at 06:53 PM.
    Larry Dougherty
    Hosting.com Server Engineer

  3. #3
    Yep suPhp is best bet.

  4. #4
    Get suPhp, PHPSuExec or FastCGI installed which can handle php issues.
    Support Facility | 24/7 web hosting technical support services
    Technical support | Server management | Data migration

    Technical Articles

Similar Threads

  1. RackEdge Ownership?
    By lamans in forum Dedicated Server
    Replies: 12
    Last Post: 01-12-2009, 07:23 AM
  2. Change ownership to nobody:apache
    By prashant1979 in forum Hosting Security and Technology
    Replies: 11
    Last Post: 11-29-2008, 09:36 AM
  3. Apache keeps taking file ownership. Help!
    By jgray1978 in forum Hosting Security and Technology
    Replies: 8
    Last Post: 04-08-2008, 03:43 PM
  4. Apache taking long to up
    By Hassan in forum Hosting Security and Technology
    Replies: 5
    Last Post: 05-09-2006, 02:33 PM
  5. apache is taking 75 % of the cpu time ?
    By solyalex in forum Dedicated Server
    Replies: 5
    Last Post: 03-16-2003, 08:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •