php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4431 Internal Server Error - Premature end of script headers
Submitted: 2000-05-12 18:53 UTC Modified: 2002-09-30 19:37 UTC
From: alex at twoteeth dot net Assigned:
Status: Not a bug Package: Other
PHP Version: 3.0.16 OS: FreeBSD 3.4
Private report: No CVE-ID: None
 [2000-05-12 18:53 UTC] alex at twoteeth dot net
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-30 19:37 UTC] hholzgra@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 22:01:30 2024 UTC