Portal Home > Knowledgebase > Articles Database > Control Panel and Ownership issues
Control Panel and Ownership issues
Posted by Terryy, 06-11-2009, 10:27 AM |
Hiya i got a unmanaged vps and i do not know why i often see folders and files ownership belonging to apache instead of myself and i have to manually reset ownership via directadmin file manager or ssh in to do it....can anyone advise me how to fix this problem as in anything i can do to stop all these apache ownership problem...
Another thing about directadmin, i select all folders and files at once trying to reset ownership but i always get an error and have to reset ownership one by one wasting time....
Any advise??
|
Posted by ServerManagement, 06-11-2009, 11:11 AM |
If your php is not in phpsuexec/suphp mode, then any files created by php will be owned as the web server user. You will either have to manually change them (chown) or change php to phpsuexec/suphp mode.
|
Posted by Terryy, 06-14-2009, 07:55 AM |
Thanks for the help, im not sure how to change the php mode, can anyone guide me??
|
Posted by timelead129, 06-14-2009, 03:30 PM |
You have recompile the php to enable the phpsuexec/suphp mode in the server.
|
Add to Favourites Print this Article
Also Read