I have an dedicated server, when i create file or folder using php those files are created in 99 99 owner permission. I cannot move (using copy in php) or rename that file. Refer the below image Advance thanks ...
This may happen when suPHP is disabled on the server and you are running Apache as nobody. userid 99 and groupid 99 are for nobody user and group. Also you can enable Apache suEXEC. Kailash
If you enable suexec files created by php will have the corresponding user group and owner, not 99, so you wont have any problems with ownership in the future.
Yes, if you enable Apache SuEXEC, any file which you will upload via PHP should get user:user ownership instead of nobody. For exiting files, you will need to change ownership via SSH. Kailash