I've activate the upload.php. After selecting the file and push the button upload, the following error message appears.
Does anyone know how to solve this problem ?
Fatal PhpWiki Error
d:\program files\apache group\apache\htdocs\phpwiki\lib\Request.php (In template 'browse') (In template 'body') (In template 'html'):590: Fatal[256]: Uploaded tmpfile illegal: D:\PHP4\uploadtemp/C:WINDOWSTEMPphp26.tmp != C:WINDOWSTEMPphp26.tmp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
; Whether to allow HTTP file uploads.
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = D:\PHP4\uploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've activate the upload.php. After selecting the file and push the button upload, the following error message appears.
Does anyone know how to solve this problem ?
Fatal PhpWiki Error
d:\program files\apache group\apache\htdocs\phpwiki\lib\Request.php (In template 'browse') (In template 'body') (In template 'html'):590: Fatal[256]: Uploaded tmpfile illegal: D:\PHP4\uploadtemp/C:WINDOWSTEMPphp26.tmp != C:WINDOWSTEMPphp26.tmp
I've Checked the php.ini for upload rights. I think the are OK.
So now what?
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = D:\PHP4\uploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
No this is not okay, PHP bug on windows.
disable upload_tmp_dir in php.ini
or set the TEMP env var to the same dir.
Tried both options, but it doesn't work.