In article <a8**************************@posting.google.com >, Salmo Bytes wrote:
My script makes the first top-level directory just
fine, but fails on subsequent, nested mkdirs,
producing the error message:
Warning: mkdir(): SAFE MODE Restriction in effect. The script whose
uid is 669 is not allowed to access /home/virtual/site...path to dir I
just made
If you create a new directory, the owner of that directory is the user
that runs the webserver (usually www-data or nobody).
With safe mode enabled, you can only access directories that are owned
by you. <>
Php has to solve the lack-of-suexec-behavior problem,
somehow, someway. Else it's a make believe system,
at least in the virtualhost environment.
You can also run php in a suexec environment.
--
Tim Van Wassenhove <http://home.mysth.be/~timvw/contact.php>