ID:               22534
 Comment by:       jeanfrancois dot lecam at altiplano dot fr
 Reported By:      KTalleur at abics dot de
 Status:           Open
 Bug Type:         CGI related
 Operating System: SuSE Linux
 PHP Version:      4.3.1
 New Comment:

I guess my problem is the same :
using apache-1.3.27/suexec + cgiwrap-3.7.1 + php-4.3.1 as a CGI, I get
a "premature end of script headers" (used to work with php-4.2.3).
Using cgiwrapd and php.ini with 'log_errors = On', it says :

PHP Fatal error:  Unknown(): Unable to open
/home/websites/website1/web/ in Unknown on line 0

This is my doc_root, it lacks the script name !

Downgrading to 4.2.3...


Previous Comments:
------------------------------------------------------------------------

[2003-03-04 06:05:27] KTalleur at abics dot de

I am using PHP 4.3.1 as a CGI with Apache 1.3.27. Using phpinfo(), i
found out that the variables

SCRIPT_NAME
PATH_INFO

are not shown in the environment section. Therefore, PHP_SELF is shown
empty in the PHP Variables section.

With PHP 4.2.2 (same Apache Config, just the php binary changed),
everything is fine - the two environment variables are shown, and the
php_self variable is set. So this is a feature of the current version!

I compiled PHP with  --enable-track-vars,--enable-force-cgi-redirect,
--with-gd=/usr.

Any suggestions?

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22534&edit=1

Reply via email to