ID:               49766
 Comment by:       binbash at b2host dot de
 Reported By:      binbash at b2host dot de
 Status:           Feedback
 Bug Type:         CGI related
 Operating System: CentOS 5.4 x86_x64 Linux
 PHP Version:      5.3.0
 New Comment:

Thanks Arnaud that fixed it, so actually no php bug but a bug in my
script. :-/ Sorry for any inconvenience you had.


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

[2009-10-04 19:07:16] [email protected]

Looks like a problem in content length and/or packing of some value in
your script.

Please try with this :
https://pear.php.net/pepr/pepr-proposal-show.php?&id=579

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

[2009-10-04 18:50:03] binbash at b2host dot de

I tested now with snapshot, but it didn't fix anything.

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

[2009-10-04 18:02:00] [email protected]

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



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

[2009-10-04 16:34:09] binbash at b2host dot de

Description:
------------
Hi, I wrote a small testprogram to test performance with php-cgi
running in fastcgi mode and keep getting Errors. When I run it, the
program fails first after 137 requests. 

The test program continues then and succeeds on the next requests but
fails totally after 273 Requests. No response comes back from the
php-cgi binary.

I started php-cgi with following command:

/opt/www/php/bin/php-cgi -b 127.0.0.1:9000

Environment Variables for php-cgi:

PHP_FCGI_CHILDREN = 27
PHP_FCGI_MAX_REQUESTS = 10000000

Reproduce code:
---------------
You can find the test program here:
http://www.pastie.org/641216

I tested with following test.php:
<?php
echo "Hello World!\n";
phpinfo();
?>

Expected result:
----------------
The same output for all requests without any errors.

Actual result:
--------------
>From the cgi binary I get following response for Request 137

type: text/html

<br />
<b>Warning</b>:  Unknown: Filename cannot be empty in <b>Unknown</b> on
line <b>0</b><br />
<br />
<b>Fatal error</b>:  Unknown: Failed opening required ''
(include_path='.:/opt/www/php_5.3.0/lib/php') in <b>Unknown</b> on line
<b>0</b><br />



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


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

Reply via email to