| Apache taking ownership of files
|
Pollos

msg:4427622 | 9:06 pm on Mar 10, 2012 (gmt 0) | I've just moved the site from one VPS to a new VPS using the Plesk migration tool, so I'm not sure if its a problem with plesk or the new VPS setup. When the site was moved and I found some features/ sections not working I noticed that odd files and directory's were owned by Apache. Changing these back to the correct user/group cured the problems. But now any files created by my site, my blog for example, are created under the user and group Apache which make them unusable unless I manually change user and group. Any help advice thoughts greatly appreciated.
|
incrediBILL

msg:4427659 | 11:44 pm on Mar 10, 2012 (gmt 0) | Apache doesn't own the files, some other task running as apache, like PHP, probably created those files. This is a very common problem with Plesk which using FastCGI solves but it creates a ton of new and more annoying problems.
|
Pollos

msg:4427855 | 2:40 pm on Mar 11, 2012 (gmt 0) | | Apache doesn't own the files |
| Ok I understand | some other task running as apache, like PHP, probably created those files |
| Correct php does create them, PHP is running as an Apache_mod and safe mode is off. Exactly the same as on my old VPS so I don't understand why files/folders created with PHP have apache as owner/group and not the correct user/group. Is there anything I can do to rectify this Thanx for your time.
|
enigma1

msg:4430375 | 4:48 pm on Mar 17, 2012 (gmt 0) | What mode php runs with in your httpd.conf? (cgi, fastcgi etc)
|
|
|