PHP Program upload website logo error solution

Source: Internet
Author: User
At work, I will solve the problem one by one, and send the solution here.

Upload website logo error: PHP warning:file upload Error Unable to creatr a temporary file in Unknow on line 0

Create a folder called temporary temp in the folder where the site is located, because the PHP program requires a temporary folder.

Then open the PHP folder's php.ini file,

If the site folder named: Xxooupload_tmp_dir If there is a semicolon, first remove the semicolon, and then set a temporary directory, set to Upload_tmp_dir=d:/xxoo/temp
Then give this folder permission. IIS guest access permissions, as well as administrators, IIS-related programs, permissions for everyone, and then restart IIS. You can upload it.


PHP Program upload website logo error solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.