When i install WordPress first time i am not able to upload image or install plugin from my admin. I am not able to add image to my post. It is giving me errors.
So, i have search about this and finally i got solution which work for me. Create one Temporary folder in your computer. For e.g. “C:\Temp”
Then edit php.ini in your system. Which is located under Program files/Php folder.
Remember it will locate two different places. One is File Uploads and another one is Fopen wrappers.
In File Uploads
set upload_tmp_dir = “C:\Temp”
and in Fopen wrappers Comment upload_tmp_dir it.
That’s it now you can upload image and also install plugin.
This problem will not comes in Hosting site because they already set this folder permission.
Hope it will help you too!!!