make upload php work on non-apache phpmod servers