Web Hosting Talk







View Full Version : apache taking over ownership


a7medo778
11-16-2009, 06:21 PM
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

ldougherty
11-19-2009, 06:48 PM
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

ThinkSupportAdmin
11-20-2009, 03:55 AM
Yep suPhp is best bet.

inspiron
11-25-2009, 10:27 AM
Get suPhp, PHPSuExec or FastCGI installed which can handle php issues.