#27187 [Fbk->NoF]: fpassthru seems to not be binary safe
| From: | sniper@php.net | Date: | Sun, 15 Feb 2004 13:59:33 +0000 |
| Subject: | #27187 [Fbk->NoF]: fpassthru seems to not be binary safe | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-54942@lists.php.net to get a copy of this message | ||
ID: 27187
Updated by: sniper@php.net
Reported By: php at brokep dot com
-Status: Feedback
+Status: No Feedback
Bug Type: Filesystem function related
Operating System: Tru64 v5.0a
PHP Version: 5.0.0b3 (beta3)
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2004-02-09 05:01:36] moriyoshi@php.net
OK, well, then check out your error_log. Is there any
weird entry that starts with "Segmentation Fault", "bus
error" or whatsoever you don't see unless fpassthru() is
used?
If you find anything alike, then generate a backtrace
with an appropriate debugger installed in your system.
http://bugs.php.net/bugs-generating-backtrace.php
might
be helpful.
------------------------------------------------------------------------
[2004-02-09 02:02:13] php at brokep dot com
1. None of them are (nor was) activated.
2. file_get_contents() worked.
Is my binary a black hole? :)
------------------------------------------------------------------------
[2004-02-09 01:22:01] moriyoshi@php.net
1) If any of the following features is turned on in your php.ini, turn
them off and try again.
. output_handler=...
. session.use_trans_sid=...
. output_buffering=...
2) Try using file_get_contents() instead and see what'll happen.
<?php
echo file_get_contents('<your-cursed-win32-binary>");
?>
------------------------------------------------------------------------
[2004-02-09 01:04:00] php at brokep dot com
PHP compililation flags:
--CUT--
./configure --with-apxs2=/apache/bin/apxs
--with-mysql=/usr/local/mysql
--enable-track-vars --enable-inline-optimization --with-xml
--with-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg
--with-gettext --with-xslt --with-imap=/usr/local/imap
--CUT--
Versions:
PHP 5.0.0b3
Apache2, 2.0.48
MySQL 5.0
newest libxml, libxslt, imap-2002e.
I tried the commandline PHP and - surprise - it worked like it should.
I can send you both the php-code and the win32binary that makes it not
work.
------------------------------------------------------------------------
[2004-02-08 22:21:25] moriyoshi@php.net
Which web server implementation are you using? (eg.
Apache) and what is the version of it? (eg. 2.0.40)
And could you try it on the CLI version of PHP again?
------------------------------------------------------------------------
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/27187
--
Edit this bug report at http://bugs.php.net/?id=27187&edit=1