缺少临时文件夹 [英] Missing a Temporary Folder
问题描述
我正在使用内置的apache服务器和php/mysql在macOS 2.4上开发Mac OSX 10.8
I'm working on a mac OSX 10.8 using the built in apache server and php/mysql to develop on moodle 2.4
我遇到的问题是为什么我尝试上传任何东西时得到错误消息PHP缺少临时文件夹.
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.
我该如何解决?
推荐答案
打开php.ini文件,查看upload_tmp_dir
的值,并仔细检查路径是否存在.
显然,该Apache也具有对该文件的写权限.
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.
这篇关于缺少临时文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!