RE: [INTERNALS-WIN] Re: SHM issues PHP7 x64
[email protected] (Anatol Belski) Fri, 14 Apr 2017 22:38:38 +0000
| Newsgroups | php.internals.win |
|---|---|
| Message-ID | <HE1PR02MB10525E690F03CE534282F89EBA050@HE1PR02MB1052.eurprd02.prod.outlook.com> |
Hi Jan, > -----Original Message----- > From: Jan Ehrhardt [mailto:[email protected]] > Sent: Friday, April 14, 2017 6:54 PM > To: [email protected] > Subject: [INTERNALS-WIN] Re: SHM issues PHP7 x64 > > Jan Ehrhardt in php.internals.win (Thu, 13 Apr 2017 17:44:35 +0200): > > Even more intriguing: If we ensure that php-cgi.exe writes > >to the errorlog, it does not crash. Example: generate an error by > >adding 'extension=whatever' to php.ini and 'php-cgi -m' does not crash. > >https://github.com/krakjoe/apcu/issues/223#issuecomment-288263701 > > > >This smells like something not being initialized in PHP7, which is > >initialized in PHP5 and in PHP7 with an erronous php.ini. > > There is another report of someone that solved the APCU problem by generating > an error in php.ini ('extension=whatever'): > https://github.com/krakjoe/apcu/issues/223#issuecomment-294148256 > > I am tempted to write a blank message to the error log, but that is a nasty > workaround. There must be a better way. > -- Thanks for the further info. I've just tried php-cgi -m locally with APCu master, but I see no crash. Let move to the github issue on further discussions on this. Regards Anatol