Bug #4431: Internal Server Error - Premature end of script headers

From: Date: Fri, 12 May 2000 22:53:16 +0000
Subject: Bug #4431: Internal Server Error - Premature end of script headers
Groups: php.dev 
Request: Send a blank email to php-dev+get-18661@lists.php.net to get a copy of this message
From: alex@twoteeth.net Operating system: FreeBSD 3.4 PHP version: 3.0.16 PHP Bug Type: Other Bug description: Internal Server Error - Premature end of script headers Ok I get errors when I try to run a php3 script. in my apache_error.log: premature end of script headers ... in my browser: Internal Server Error 500 I have the php3 module loaded and I also use the /cgi-bin/php I get a 500 error for each php3 script that is in a Virtual host dir. ex: /home/www/domain1.com/ ex2: /home/www/domain2.com/ I also have suExec enabled and a User and Group directive in each <VirtualHost> . Is there a way to make php3 more secure without getting the Internal Server Error ? I added "safe_mode = on" and user_dir = puclib_php etc etc. php3 scripts found in /home/user/public_php/ can be run without a problem. It's onyl virtual hosts Can someone please give me a solution or send me their config files for me to observe (see if i did something wrong). Thank you

« previous php.dev (#18661) next »