I have manually added the upload_tmp_dir via php.ini file and it worked. Thank you. But Is there is a way I can upload the doc OR docx file. I am able to upload the image and pdf but when I upload any doc OR docx file then it starts uploading the file and stop and don't throw any error. But file don't get uploaded. Thank You once again for the solutions.