Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Detect bad PHP upload setups

Make the setup wizard do some more checks to the PHP upload system. It should check if the specified upload directory really exists and is writeable.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/3.5/setup_upload_dir.txt

*Title: Detect bad PHP upload setups

Incentive:
Make the setup wizard do some more checks to the PHP
upload system. It should check if the specified upload
directory really exists and is writeable.

*Documentation:
The test will now read out 'upload_tmp_dir' from PHP and check
if that directory exists and can be written to.
If something is wrong it explains why and gives example shell
commands for fixing it.

The setup test 'file_upload' was moved from OptionalTests
to CriticalTests in site.ini.

*Testing:
Reconfigure php.ini and do one of the following:
- Disable php uploading by setting file_uploads to 0
- Change setting 'upload_tmp_dir' to a directory that does not exist.
- Remove all write permission from the directory taken from setting 'upload_tmp_dir'

*SVN Revisions:
8412, 8434, 8435

Something wrong on this page? Report an error

Documentation license

This page was inherited from the documentation of the original software. It is not covered by the GNU Free Documentation License; it is distributed under the GNU General Public License, version 2.

Copyright (C) 1999 - 2014 eZ Systems AS and contributors