• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't upload files, Help

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).

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).

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.