What should I do if I modify upload_tmp_dir?

Source: Internet
Author: User
The modification of upload_tmp_dir does not work. in php. ini, I set upload_tmp_dir to a custom temporary directory, and restart apache. the result of phpinfo () is also the directory I set. The temporary directory where files can be uploaded is the default/tmp. why? My settings in php. ini are as follows: why does PHPcodeuploa modify upload_tmp_dir?
In php. ini, I set upload_tmp_dir to a customized temporary directory, restart apache, and the result of phpinfo () is also the directory I set.
The temporary directory where files can be uploaded is the default/tmp. why?
My settings in php. ini are as follows:
PHP code
  Upload_tmp_dir = '/var/www/tmp'

Ubuntu 11.10 + Apache/2.2.20 (Ubuntu) + PHP 5.3.6-13ubuntu3. 6

------ Solution --------------------
Check whether phpinfo has been set successfully. Confirm that all users have write permission on/var/www/tmp.
------ Solution --------------------
Discussion

Check whether phpinfo has been set successfully. Confirm that all users have write permission on/var/www/tmp.

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.