Knowledgebase
Cannot create temporary file (image upload)
Posted by GeXus, 12-24-2007, 05:52 PM | Hello,
I'm on a new server (CentOS) and I can't seem to do image uploads through php because it cannot create the temp file... my php.ini is set to use the default directory...
Does anyone know how I might be able to fix this?
|
Posted by Barti1987, 12-24-2007, 09:44 PM | What is the error you get?
Is your tmp directory writable, does it have the correct permissions.
Peace,
|
Posted by GeXus, 12-25-2007, 03:29 AM | The error I get is "Can't create the temporary file", I think it's a custom error message though, it also says cannot write to /tmp, and I chmod it to 777
|
Posted by Barti1987, 12-25-2007, 03:01 PM | Check the rights on the /tmp folder, the group/ownership should be set to root.
Peace,
|
Posted by GeXus, 12-25-2007, 11:59 PM | I set it to 777 as root user...
|
Posted by NEXCS-Greg, 12-29-2007, 12:10 PM | Can you paste the exact errors you're getting in the error log?
|
|
Add to Favourites
Print this Article |
Also Read
Earthlink? (Views: 669)