php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56955 HttpResponse class from pecl/http crashes php/apache when used as parent class
Submitted: 2006-04-12 15:11 UTC Modified: 2009-02-16 20:28 UTC
From: marek at lewczuk dot com Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.1.1 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
38 - 33 = ?
Subscribe to this entry?

 
 [2006-04-12 15:11 UTC] marek at lewczuk dot com
Description:
------------
I'm using pecl_http with apc. I have a class which extends HttpResponse class - with apc it is impossible to use child class, because any kind of action crashes php/apache.

Reproduce code:
---------------
class ExampleClass extends HttpResponse {
}

$test = new ExampleClass();
ExampleClass::setContentDisposition("test.txt");

Expected result:
----------------
Should work...

Actual result:
--------------
PHP/apache crash

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-16 09:49 UTC] gopalv82 at yahoo dot com
Can you provide a backtrace ?
 [2006-04-18 05:23 UTC] mike@php.net
I don't have any problems with PHP-5.1-CVS and apc-HEAD, but I'm preparing a new build to be sure.
 [2006-07-27 11:18 UTC] gopalv82 at yahoo dot com
Please confirm again.
 [2009-02-16 20:28 UTC] shire@php.net
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.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Oct 18 21:03:39 2021 UTC