Bug #15102 Updated: Upload fails (internal error 500)

From: Date: Mon, 18 Feb 2002 14:46:38 +0000
Subject: Bug #15102 Updated: Upload fails (internal error 500)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-503@lists.php.net to get a copy of this message
ID: 15102 Updated by: k141@hotmail.com Reported By: k141@hotmail.com -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: Red Hat 7.2 PHP Version: 4.0.6 New Comment: I'm unable to install 4.1.1 for now, can't test. Previous Comments: ------------------------------------------------------------------------ [2002-02-04 02:26:57] yohgaki@php.net Could you check if this problem is in 4.1.1? ------------------------------------------------------------------------ [2002-01-20 17:49:56] k141@hotmail.com So my ISP changed to Apache 3.1.19, still running redhat 7.2 and php 4.0.6. Problem still exists. I have compiled and installed 4.0.5 in my directory and script is running fine. Fabrice. ------------------------------------------------------------------------ [2002-01-19 20:26:07] k141@hotmail.com Hi, I have compiled 4.0.4pl1 on the system (simple static install, --with-mysql --with-apache, --host i386-redhat-linux, everything else defaulted, and the script works fine, so there is a problem with 4.0.6. I can't install RPMS as I don't have rpm access. I opened a ticket with the ISP for them to check the configuration, but I don't understand why PHP barfs. I will try with 4.0.5 tomorrow. Fabrice. ------------------------------------------------------------------------ [2002-01-18 14:27:46] k141@hotmail.com The only log I know about is error_log on /usr/local/apache/log is there anything else I should look at? [Fri Jan 18 14:22:53 2002] [error] [client 151.200.238.39] Premature end of script headers: /home/usr235/html/upload.php phpinfo says: './configure' '--with-mysql=/usr/local/mysql' '--prefix=/usr/local/php' '--with-mck=/usr/local/mck-3.2.0.3-linux' '--with-dbase' '--with-pfpro=/usr/local/pfpro' '--enable-discard-path' '--prefix=/usr/local' '--with-gd' '--enable-gdbm' '--enable-bcmath' '--with-config-file-path=/usr/local/apache' '--enable-magic-quotes' '--enable-ftp' Server API CGI Virtual Directory Support disabled Configuration File (php.ini) Path /usr/local/apache Note that there is no php.ini in this path, or anywhere on the server. Finally someone that agrees with me that this should work!!! ------------------------------------------------------------------------ [2002-01-18 14:15:44] sander@php.net It should work. It's probably a configuration problem (echo'ing $userfile should print out the temporary filename of the uploaded file). Can you provide some more information, like what's in the error log? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15102 -- Edit this bug report at http://bugs.php.net/?id=15102&edit=1

« previous php.bugs (#503) next »