|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75199 Random php fatal error , Class contains 1 abstract method
Submitted: 2017-09-13 05:58 UTC Modified: 2017-11-05 04:22 UTC
Avg. Score:4.0 ± 1.0
Reproduced:9 of 10 (90.0%)
Same Version:3 (33.3%)
Same OS:8 (88.9%)
From: panying2000 at gmail dot com Assigned:
Status: No Feedback Package: *General Issues
PHP Version: Irrelevant OS: Apache/2.4.25 (Win64) PHP/7.0.17
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: panying2000 at gmail dot com
New email:
PHP Version: OS:


 [2017-09-13 05:58 UTC] panying2000 at gmail dot com
It is an random issue , but if it happened , the error can't be skipped .

In my case , php report 

Fatal error: Class MySqlSessionHandler contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface::read)

Before restart apache , I tried to modify code , php run well before require that class file , but it report error once include that class file ( modify that class file doesn't help either ).

Restart apache , fatal error go away . 

I don't enable opcache , so it is similar with , but not an opcache bug 

And in internet , it report similar issue around ,

My Apache Setting , wish can help,
Apache Version	Apache/2.4.25 (Win64) PHP/7.0.17 OpenSSL/1.0.2k
Apache API Version	20120211
Virtual Server	Yes
Loaded Modules	core mod_win32 mpm_winnt http_core mod_so mod_php7 mod_actions mod_alias mod_allowmethods mod_asis mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_deflate mod_dir mod_env mod_filter mod_include mod_info mod_isapi mod_log_config mod_mime mod_negotiation mod_rewrite mod_setenvif mod_socache_shmcb mod_ssl mod_status


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-09-13 06:29 UTC]
-Package: PHP Language Specification +Package: *General Issues
 [2017-09-13 09:58 UTC]
-Status: Open +Status: Feedback
 [2017-09-13 09:58 UTC]
Thanks for the report. The bug #72112 was not solved, so it's hard to say whether this one is same. Can you provide a reproduce code please? As for PHP as Apache module under Windows - there are some essential bugfixes in PHP 7.2, perhaps you could test the release candidates, too.

 [2017-11-05 04:22 UTC] php-bugs at lists dot php dot 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 "Re-Opened". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 22 07:01:29 2024 UTC