Missing a Temporary Folder

余生颓废 提交于 2019-12-10 11:08:27

问题


I'm working on a mac OSX 10.8 using the built in apache server and php/mysql to develop on moodle 2.4

the problem i'm having is that why I try and upload anything I get the error message PHP is missing a Temporary Folder.

I then downloaded the live copy onto my laptop as i know this is working, and still got the same error on my localhost.

How can i fix this?


回答1:


Open your php.ini file look at the value for upload_tmp_dir and double check that the path exists. And that apache has write access to it also, obviously.




回答2:


Just to add to this, on windows refer to the same upload_tmp_dir setting in your php.ini file and make sure the IUSR account has full control/write access to this directory.




回答3:


Change permission on /tmp folder chmod 777 /tmp



来源:https://stackoverflow.com/questions/14235871/missing-a-temporary-folder

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!