Welcome Guest, Not a member yet? Register   Sign In
Can't upload files, Help
#1

[eluser]Unknown[/eluser]
Hello, I'm a little new at using codeigniter, however I've been having a problem for some time.
You see, I made a simple application in order to upload fles to the server, while it worked while I tested in local host, but at the moment I put it into the server it stopped working. I checked for errors and this is the message I got:

"The upload destination folder does not appear to be writable."

I know that the permissions on the folder are set to 775 (since changing them to 777 fixes the problem), so Is there a way to be able to upload files with 775 permission, or at leas to change the directory to 777 until the file is uploaded and then return it to the previous configuration,
Or change the user that runs the codeigniter (since when I excecute the "whoami" the user that appears is wwwrun).
#2

[eluser]CroNiX[/eluser]
The apache user must have permission to that dir, and then you don't need 777. Maybe you just need to change owner or group of that dir to be apache user (probably wwwrun in your case).




Theme © iAndrew 2016 - Forum software by © MyBB