NAS2 php
php에서 tmp폴더 확인 결과
> sys_get_temp_dir() => /tmp
폴더로 확인 되어 집니다.
이것을 변경할수 있는 환경변수나
php.ini의 설정을 바꿔줄수 있을지에 대해 궁급합니다.
앞서 질문드렸던 에러 메시지는
php에서 제공하는 ftp관련 함수 입니다.
ftp_nlist()라는 함수 실행시
[Thu Apr 30 04:55:03.089428 2015] [:error] [pid 6231] [client 118.216.116.119:58864] PHP Warning: ftp_rawlist(): Unable to create temporary file. Check permissions in temporary files directory. in /mnt/HDD2/homepage/OurChurch/ftp.php on line 35
이와 같은 메시지가 출력됩니다.
> sys_get_temp_dir() => /tmp
폴더로 확인 되어 집니다.
이것을 변경할수 있는 환경변수나
php.ini의 설정을 바꿔줄수 있을지에 대해 궁급합니다.
앞서 질문드렸던 에러 메시지는
php에서 제공하는 ftp관련 함수 입니다.
ftp_nlist()라는 함수 실행시
[Thu Apr 30 04:55:03.089428 2015] [:error] [pid 6231] [client 118.216.116.119:58864] PHP Warning: ftp_rawlist(): Unable to create temporary file. Check permissions in temporary files directory. in /mnt/HDD2/homepage/OurChurch/ftp.php on line 35
이와 같은 메시지가 출력됩니다.







































