php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70872 Enabling MySQLi extension crashes php and then Apache
Submitted: 2015-11-06 20:10 UTC Modified: 2015-11-09 15:31 UTC
From: james2432 at gmail dot com Assigned:
Status: Closed Package: MySQLi related
PHP Version: 7.0.0RC6 OS: Windows Server 2012R2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: james2432 at gmail dot com
New email:
PHP Version: OS:

 

 [2015-11-06 20:10 UTC] james2432 at gmail dot com
Description:
------------
Both Apache and php and x64 version
VC 2015 x64 and x86 are installed
Apache currently works with v5.6.14 and mysqli
PHP7 folder & ext folder are added to the PATH variable
------------------------------------
Disable all extensions:
-Start Apache 2.4.17
-Starts Fine.
-Stop Apache

Enable just MySQLi extension in php.ini:
-Start Apache
-Apache crashes

Event Log:
Faulting Application name: httpd.exe versuib 2.4.17.0, time stamp: 0x55a3f1f2
Faulting module name: php7ts.dll, version:7.0.0.0, time stamp: 0x56312d45
Exception code: 0xc0000005
Fault offset: 0x000000000048a51c
Faulting process id: 0x1188
Faulting application start time: 0x01d118cc50821ad0
Faulting application path: C:\Apache24\bin\httpd.exe
Faulting module path: C:\php7\php7ts.dll
Report Id: 8ec27830-84bf-11e5-80be-005056981e9f
Faulting package full name:
Faulting package-relative application ID:

Expected result:
----------------
Should work/let Apache run

Actual result:
--------------
Crashes Apache

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-11-06 20:15 UTC] james2432 at gmail dot com
When PHP7 is added to path I removed old references to php5
 [2015-11-06 21:58 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2015-11-06 21:58 UTC] ab@php.net
Do you use a VC14 build of Apache? Do the paths from c:\php7 precede everything else?

Thanks.
 [2015-11-09 15:31 UTC] james2432 at gmail dot com
-Status: Feedback +Status: Closed
 [2015-11-09 15:31 UTC] james2432 at gmail dot com
seems to been apache not running VC14 build being the problem
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 17:01:33 2025 UTC