How to change TEMP dirs??

Discussion in 'Installation/Configuration' started by psychop, Aug 11, 2010.

  1. psychop

    psychop New Member

    Where can I change upload temporary directory know as 'upload_tmp_dir'?

    Have to change it because having problem with form uploading pictures to dir on server over php with move_uploaded_file function.

    TNX ll in advance.
  2. falko

    falko Super Moderator ISPConfig Developer

    What's the error message that you get? Did you enable PHP Safe Mode for that vhost?
  3. psychop

    psychop New Member

    problem is that dir to wich i'm uploading has "all rights for all users" but can not upload via move_uploaded_file because temporary directory is not found!
  4. falko

    falko Super Moderator ISPConfig Developer

    The upload directory is defined in the Apache vhost configuration, e.g. like this:
    php_admin_value upload_tmp_dir /var/www/web1/phptmp/
    But this is written by ISPConfig, if you modify the line, it might be overwritten by ISPConfig again.

Share This Page