mkdir in safe-mode

From: Date: Mon, 05 Aug 2002 15:54:42 +0000
Subject: mkdir in safe-mode
Groups: php.general 
Request: Send a blank email to php-general+get-111222@lists.php.net to get a copy of this message
Hi, sorry, my english isn't the best. I have a problem to dynamically create directorystructures using php 4.2.2 running as modul in safe-mode. the ftp- and apache user (for the virtual-hosts) are identical, but the user, the apache-daemon in runnung under, is a different, so that directory-access ist only possible to the owner. if now using the mkdir-function, php creates a directory owned by the user, the apache-daemon is started with, not by the user, the virtual-host is running under. the first directory can be created, if the permissions are the to. but in the created directory i can't create other directories or files. this is no problem, if safe-mode is turned off - tested with a test-server. but the configuration of the live-server can't be changed to not using the safe_mode. What's the way to get this work ?? regards and thanks for your answers Kai

« previous php.general (#111222) next »