Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing a Temporary Folder

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?

like image 698
Wheelz Avatar asked Jun 27 '26 09:06

Wheelz


2 Answers

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.

like image 58
Daniel Figueroa Avatar answered Jun 29 '26 22:06

Daniel Figueroa


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.

like image 20
martenc Avatar answered Jun 30 '26 00:06

martenc



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!