ID: 22534 Comment by: hosting at voodooweb dot com Reported By: KTalleur at abics dot de Status: Closed Bug Type: CGI related Operating System: SuSE Linux PHP Version: 4.3.1 New Comment:
I have the same problem like "jeanfrancois dot lecam at altiplano dot fr" reported but I don't use cgiwrap just standard apache suexec and FreeBSD 4.5 as OS. My script worked with 4.2.3 but crashed with 4.3.1 and the CVS-snapshot. Previous Comments: ------------------------------------------------------------------------ [2003-03-04 10:39:30] KTalleur at abics dot de It worked with the CMS-Snapshot (linux version). Thanks! ------------------------------------------------------------------------ [2003-03-04 10:11:05] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-03-04 07:38:59] KTalleur at abics dot de No, its not the same. In my environment, the script is executed. I don't get any errors, except for the missing values / variables. ------------------------------------------------------------------------ [2003-03-04 07:35:45] jeanfrancois dot lecam at altiplano dot fr 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... ------------------------------------------------------------------------ [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
