ID:               22773
 Updated by:       [EMAIL PROTECTED]
 Reported By:      joe at mcknight dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         CGI related
 Operating System: Linux
 PHP Version:      4.3.2-RC
 New Comment:

It definately not is any PHP bug.



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

[2003-03-23 18:54:36] joe at mcknight dot de

Hi,

I did another test with php 4.0.6 (cgi and --disable-all as well) and
the configuration posted before. It works if I just change the php
binary... Can anybody tell me if this is a PHP bug or one from apache?

Thanks,
Joachim

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

[2003-03-19 18:43:36] joe at mcknight dot de

Okay, this might really be an apache error. I have a small    
configuration that seems to be able to reproduce it for    
me. I see it on 4 machines now:    
    
It's one SuSE 7.3 and 3 Debian woody/testing machines.    
    
I have the following httpd.conf and no other configuration    
files. The configuration assumes that there is a php4.cgi    
in /var/www/php-cgi/. This might be a php binary compiled    
with --disable-all. Could somebody please test it, just to   
have someone who encounters this as well?   
Just rename your existing configuration and move my   
httpd.conf in. Put the scripts below in /var/www and put   
the php cgi binary to /var/www/php-cgi. You'll also need 
to set register_globals = On in the php.ini. That was 
sufficient for me. On test.php, enter just a single 
character and click on the OK button, don't hit return but 
use the button...  
  
Here's my httpd configuration:  
  
ServerType standalone  
ServerRoot /etc/apache  
LockFile /var/lock/apache.lock  
PidFile /var/run/apache.pid  
LoadModule config_log_module  
/usr/lib/apache/1.3/mod_log_config.so  
LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so  
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so  
LoadModule action_module  
/usr/lib/apache/1.3/mod_actions.so  
Port 80  
User www-data  
Group www-data  
<IfModule mod_mime.c>  
    AddHandler cgi-script .cgi .sh .pl  
</IfModule>  
  
DocumentRoot    /var/www  
AddHandler php-script .php .php3 .php4 .phtml  
Action php-script /php-cgi/php4.cgi  
ErrorLog /var/log/apache/web-error.log  
CustomLog /var/log/apache/web-transfer.log combined  
<Directory /var/www/php-cgi>  
       Options +ExecCGI  
</Directory>  
 
Thank you very much

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

[2003-03-19 16:09:49] [EMAIL PROTECTED]

Okay, you're pulling my leg now. I don't believe this
is a real bug report at all. NOBODY else can reproduce this.
So even if this was real, it's just your system that has it.


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

[2003-03-19 16:07:26] joe at mcknight dot de

I get the same error:

phpinfo() says:

Configure Command  './configure' '--disable-all' '--disable-cli'
Server API  CGI
Virtual Directory Support  disabled
Configuration File (php.ini) Path  /usr/local/lib/php.ini
PHP API  20020918  
PHP Extension  20020429  
Zend Extension  20021010  


/usr/local/lib/php.ini contains just the single line:

register_globals = On


What next ?  :-)

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

[2003-03-19 15:36:16] [EMAIL PROTECTED]

Note: I just tested PHP 4.3.1 CGI within Apache 1.3.27
and it worked just fine.


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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/22773

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

Reply via email to