ID: 23760 Updated by: [EMAIL PROTECTED] Reported By: php-general at pennysaverusa dot net -Status: Open +Status: Bogus Bug Type: Apache related Operating System: RedHat 7.3 PHP Version: 4.3.2RC4 New Comment:
First of all, your example stuff is totally bogus. . There is no session_start() anywhere . You include pure html as php using virtual when you should be using include() Second, it never crashes, of course you don't get any core files. Third, there are easier ways to shoot yourself in leg too, but we still don't suggest you should do it. Fourth, as long as you can't provide us any example that actually has any far possibility on working and uses some sane ways on doing things, this is bogus. Phillip: virtual() might work for including php files, but the result is still unpredictable.. Previous Comments: ------------------------------------------------------------------------ [2003-06-09 20:00:24] barrygould at pennysaverusa dot net Philip, did you try the test files I linked? Thanks, Barry ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ 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