Bug #69814 [Fbk->Ver]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
| From: | ab@php.net | Date: | Fri, 12 Jun 2015 20:01:12 +0000 |
| Subject: | Bug #69814 [Fbk->Ver]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-193369@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69814&edit=1
ID: 69814
Updated by: ab@php.net
Reported by: theodorejb at outlook dot com
Summary: Enabling php_curl, php_mysqli, and php_openssl
causes php-cgi to crash
-Status: Feedback
+Status: Verified
Type: Bug
Package: CGI/CLI related
Operating System: Windows Server 2012 R2
PHP Version: 7.0.0alpha1
Block user comment: N
Private report: N
New Comment:
Thanks for checking ... in my case it was 5.6.9-Win32-VC11-x64 which crashes the same way. Strangely
a debug build doesn't crash ... I'm debugging it further, but I already confirm the issue.
It were just essential to ensure it is (or is not) 7.0 specific.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2015-06-12 19:33:03] theodorejb at outlook dot com
I also tested PHP 5.5.26 and PHP 5.6.10 with identical changes to the php.ini config, but I
haven't been able to reproduce it on those versions. The issue appears to be PHP 7 specific.
------------------------------------------------------------------------
[2015-06-12 19:05:19] ab@php.net
Ups, i wanted to write - 5.5 and 5.6 as well.
Thanks.
------------------------------------------------------------------------
[2015-06-12 18:57:56] ab@php.net
Thank you for the report. As far as I could debug yet, this issue is present in at least 5.6 as
well. Were it possible you to check the 5.5 branch as well?
Thanks.
------------------------------------------------------------------------
[2015-06-12 13:56:22] theodorejb at outlook dot com
Description:
------------
I'm using the VC14 x86 Non Thread Safe version.
Starting from the default php.ini development file, I uncommented the following lines:
extension_dir = "ext"
extension=php_curl.dll
extension=php_mysqli.dll
extension=php_openssl.dll
After doing this, running php-cgi.exe -b 127.0.0.1:9000 results in a "CGI / FastCGI has stopped
working" crash almost every time.
Strangely, the crash isn't 100% consistent. In a couple cases, it didn't crash when
running the command, but did as soon as I passed a request to the server via nginx. On one occasion,
it didn't crash and I was able to pass requests to it, but when my code attempted to access
mysqli, I got the following error:
<b>Fatal error</b>: Uncaught EngineException: Class 'mysqli' not found in
C:\Users\Theodore\Documents\Code\myFile.php:20
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69814&edit=1