Closed sinclairday closed 3 years ago
We had similar reports. Updated gmp to latest version, don't know right now what else to do
But your example works fine on my php 7.1.9 installation locally
I don't know what to say. It does the same thing on a colleague's Mac. On FreeBSD, all is good.
Attaching crash log...
This project is now deprecated and won't get any more updates (since quite some time, but we made it official now).
The binaries and scripts will still be available for the foreseeable future.
We recommend using a homebrew based setup for an up-to-date local and native PHP experience.
See https://php-osx.liip.ch/ for more details.
We're using a math package that detects and uses the GMP extension. With both php5-7.1.4-20170506-100436 and php5-7.1.9-20170914-100859, calls to gmp_mul() are crashing PHP hard.
The simplest case is:
Or another test:
As a work around for now, I have commented out /usr/local/php5/php.d/50-extension-gmp.ini to force the package to use bcmath.
#extension=gmp.so