Permissions for a upload.php program

aitorla

New member
Joined
Aug 16, 2009
Messages
4
I have an easy program (upload.php) in a directadmin 'user' account, that uploads files into a directory called uploaddir. To work correctly uploaddir must have 777 permissions (the system upload files like apache user).

Is it posible to change the upload user from apache to 'user' ? or the permissions to 755 ? What have I to do ?

Regards,

Aitor
 
Is it posible to change the upload user from apache to 'user' ? or the permissions to 755 ? What have I to do ?

You have to use php as a cgi instead of an apache module (mod_php).
 
Note that this change must be made serverwide by the server administrator.

Jeff
 
Back
Top