Hi,
I am creating a folder through php code. but the permissions for that folder is not setting.
I identified the problem is apache is different usergroup,FTP is different user group.
so i want to know how can i change user group of apache. or how can i add apache,php in root access.

Regards
Bala

Hi,
I am creating a folder through php code. but the permissions for that folder is not setting.
I identified the problem is apache is different usergroup,FTP is different user group.
so i want to know how can i change user group of apache. or how can i add apache,php in root access.

Regards
Bala

Do you have root access?

If so you can use chown to change the ownership the file to the one you need (such as your ftp user).
http://en.wikipedia.org/wiki/Chown

If you don't, you might want to consider using an ftp client written in PHP to create directories/files for you, with your ftp user. This way you can then access it via ftp yourself.
http://www.radinks.net/ftp/php/

This question has already been answered. Start a new discussion instead.