[PHP-DEV] Bug #4431: Internal Server Error - Premature end of script headers From: alex <email protected>
Date: 05/12/00

From: alex <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>