Hi everybody,
I am running Suse 10.1 installation of LAMP.
There is a directory, let's say /foo - created by root, ownership is changed - Apache is the owner,
PHP runs as Apache module. If I am not mistaken PHP has the same rights as Apache.
What else should I do to make mkdir() able to create new directories in /foo ?
Thank you,
Yuri
what are preconditions for making mkdir() working ?
Moderator: General Moderators
Another thing - PHP runing as Apache module has Apache's rights, moreover it's Apache self.
I've already changed the ownership of /foo to Apache, it's 0755 in the /foo permissions.
It's logical to expect that PHP is able to write in /foo.
Do you happen to know why it should be 0777?
I am bit worried by giving to 'others' write permisssions..
I've already changed the ownership of /foo to Apache, it's 0755 in the /foo permissions.
It's logical to expect that PHP is able to write in /foo.
Do you happen to know why it should be 0777?
I am bit worried by giving to 'others' write permisssions..