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
-
phpfreak
- Forum Commoner
- Posts: 30
- Joined: Fri Mar 21, 2003 10:28 am
- Location: New Jersey,USA
- Contact:
Hey,
Actually that should do, but it is always helpful to confirm that you have changed the permissions. Actuallyt the documentation for this is pretty good.
http://www.php.net/manual/en/function.mkdir.php
hope it helps
Actually that should do, but it is always helpful to confirm that you have changed the permissions. Actuallyt the documentation for this is pretty good.
http://www.php.net/manual/en/function.mkdir.php
hope it helps