ID: 24043 User updated by: delmatto at genotec dot ch Reported By: delmatto at genotec dot ch -Status: Bogus +Status: Closed Bug Type: Scripting Engine problem Operating System: Debian GNU/Linux 3.0 / stable -PHP Version: 4.3.2 +PHP Version: 4.3.3-dev New Comment:
As of PHP 4.3.3-dev snapshot June 13, 2003 07:30 GMT the problem as described above seems to be gone. Previous Comments: ------------------------------------------------------------------------ [2003-06-09 12:00:37] delmatto at genotec dot ch Well, actually not the answer I expected ;-) Since I really *need* to fix this, I'd appreciate some thoughts on how to find the source of this problem. If you say, it ain't a bug in PHP, then it's propably a local configuration issue (php.ini/apache.conf/etc) or a compiling issue (compiler version/libc/dev headers). what do you think about that? any ideas? ------------------------------------------------------------------------ [2003-06-09 08:15:58] [EMAIL PROTECTED] Both scripts work just fine. No bug. ------------------------------------------------------------------------ [2003-06-07 05:03:32] delmatto at genotec dot ch I am Sorry, I understood you wantet a working link to see the scripts in action... This is the code of the two test files I use: ---begin test.php--- <?PHP include("http://gic-web-lin-01.genotec.ch/php/gd/index.php"); ?> ---end--- ---begin test2.php--- <?PHP include("http://support.genotec.ch/main.asp"); ?> ---end--- ------------------------------------------------------------------------ [2003-06-07 04:52:43] [EMAIL PROTECTED] I asked for a SOURCE of a script that I can run myself. ------------------------------------------------------------------------ [2003-06-07 02:54:51] delmatto at genotec dot ch use the following for a server running php 4.3.1 (original config) http://212.80.185.102/test.php (-> http://212.80.185.102/php/gd/index.php) http://212.80.185.102/test2.php (-> http://support.genotec.ch/main.asp) here the error happens, no matter wether I include from the same server or from an external one as in the later case. now these for the server running 4.3.3-dev snapshot http://212.80.185.101/test.php (-> http://212.80.185.101/php/gd/index.php) http://212.80.185.101/test2.php (-> http://support.genotec.ch/main.asp) here comes a very strange behaviour as it sometimes works without this 'headers' and sometimes the page even stays blank, then I find the following in the error log: [Sat Jun 7 09:34:29 2003] [error] PHP Warning: main(http://gic-web-lin-01.genotec.ch/php/gd/index.php): failed to open stream: HTTP request failed! [EMAIL PROTECTED]@P_P ␋[EMAIL PROTECTED]@T ␋┼ /┴▒⎼/␤␌␌/␤├␍⎺␌⎽/␍␊°▒┤┌├/├␊⎽├.⎻␤⎻ ⎺┼ ┌␋┼␊ 4 to reproduce just try to reload the page a few times. I'm not sure wether this header problem is gone now, though the error shown in the log was only introduced when using the new snapshot. It seems like it would only happen when including from the same server, not from an external one, as I couldn't reproduce it on the second url. PHP4 ist running as mod_php in Apache. There is no mod_php3. CGI is not specifically configured in apache, however I didn't use the '--disable-cgi' switch when building PHP, if anyone happens to rename a .php file to .cgi and adds a #!/usr/bin/php to the top of the file, it would run over cgi/suexec. Normal .php/php3/phtml files run through mod_php. ------------------------------------------------------------------------ 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/24043 -- Edit this bug report at http://bugs.php.net/?id=24043&edit=1