user5853824
user5853824

Reputation:

Issue with using guzzle on IIS 7.5 with manually installed PHP 5.6.34 (Thread-safe package)

So I have multiple projects using Guzzle for server-side requests, as well as it is used in a few libraries I am using (Google Adwords PHP library, for example).

And I have no problem using Guzzle on Mac, but for some reason on windows, it fails. From what I figured out it's usually the PHP application failing (the error event message is below). I assume it's a configuration error, but I am stuck in between SSL certificates and extensions configuration.

Maybe someone has run into the issue on IIS 7.5 and fixed it. Any help is appreciated.

Faulting application name: php-cgi.exe, version: 5.6.34.0, time stamp: 0x5a975d26
Faulting module name: php5ts.dll, version: 5.6.34.0, time stamp: 0x5a9762c2
Exception code: 0xc0000005
Fault offset: 0x00000000004105ef
Faulting process id: 0x1900
Faulting application start time: 0x01d3b4cec2c744e1
Faulting application path: E:\_PHP_56_64bit\php-cgi.exe
Faulting module path: E:\_PHP_56_64bit\php5ts.dll
Report Id: 125c6a11-20c2-11e8-8e90-005056c00008

Upvotes: 0

Views: 216

Answers (1)

Lex Li
Lex Li

Reputation: 63264

(Copied from the comment.)

There are several red flags in your question description,

  • PHP 5.6. That's a very old release (which will be obsolete soon this year).
  • Thread safe package is used. PHP official and Microsoft recommend the non thread safe package.

Thus, by upgrading to the non thread safe package of a more recent PHP release (7.x) you might get the issue resolved.

Upvotes: 0

Related Questions