Bug #69814 [NEW]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
From: theodorejb at outlook dot com
Operating system: Windows Server 2012 R2
PHP version: 7.0.0alpha1
Package: CGI/CLI related
Bug Type: Bug
Bug description:Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
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 bug report at https://bugs.php.net/bug.php?id=69814&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69814&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69814&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69814&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69814&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69814&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69814&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69814&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69814&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69814&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69814&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69814&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69814&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69814&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69814&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69814&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69814&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69814&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69814&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69814&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69814&r=mysqlcfg
Thread (15 messages)
- theodorejb at outlook dot com
- ab@php.netBug #69814 [Opn->Fbk]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
- ab@php.netBug #69814 [Fbk]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
- theodorejb at outlook dot comBug #69814 [Com]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
- ab@php.netBug #69814 [Fbk->Ver]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
- ab@php.netBug #69814 [Ver->Csd]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
- ab@php.netBug #69814 [Csd->Fbk]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
- theodorejb at outlook dot comBug #69814 [Fbk->Asn]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
- ab@php.netBug #69814 [Asn->Fbk]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
- ab@php.netBug #69814 [Fbk]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
- theodorejb at outlook dot comBug #69814 [Com]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
- ab@php.netBug #69814 [Fbk]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
- ab@php.netBug #69814 [Fbk]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
- theodorejb at outlook dot comBug #69814 [Com]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
- ab@php.netBug #69814 [Fbk->Csd]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash