ID:               23760
 Comment by:       barrygould at pennysaverusa dot net
 Reported By:      php-general at pennysaverusa dot net
 Status:           Open
 Bug Type:         Apache related
 Operating System: RedHat 7.3
 PHP Version:      4.3.2RC4
 New Comment:

Philip, did you try the test files I linked?

Thanks,
Barry


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

[2003-06-09 19:57:36] php-general at pennysaverusa dot net

Someone changed the online docs VERY recently, however I'm sure there
is a problem here.

I did "ulimit -c unlimited", and then ran apache manually (with all the
-DHAVEs) but no core file was produced.

Thanks,
Barry

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

[2003-06-07 09:21:59] [EMAIL PROTECTED]

virtual() works fine on PHP files, as documented (although I can't test
old versions), so I believe sniper was just mistaken and don't see
anything here to document.

Barry, are you sure you set the ulimit before the backtrace?  That's
extremely important.  I'm unable to reproduce and changing back to
Apache related.

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

[2003-06-07 05:04:30] [EMAIL PROTECTED]

What sniper says is not in line with the current manual. The current
manual says that as of PHP 4.0.6 virtual() can be used on PHP files. So
the manual is not correct I assume. Changing this to be a doc problem.

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

[2003-05-27 13:43:18] php-general at pennysaverusa dot net

I am aware of that.

However, this was not a PHP file. It is merely an html file with a .php
extension.

There is no good reason for it to segfault.

If the policy is that .php files will not be loaded with virtual, then
DON'T LOAD IT. GIVE AN ERROR. DON'T RANDOMLY CRASH.

Random crashes are inexcusable. At least try to make the software
idiot-proof. Give the idiot an error or warning message.

At least, the documentation for virtual should mention this problem if
it's not going to be fixed.

Thank you,
Barry Gould

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

[2003-05-23 20:53:22] [EMAIL PROTECTED]

FYI: Using virtual() for this is absolutely useless, you really should
be using include(). And as manual says:

"virtual() cannot be used to include a document which is itself a PHP
file."

As otherwise the results are unpredictable..
(I didn't get any crash anyway)


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

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/23760

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

Reply via email to