RE: [INTERNALS-WIN] Re: SHM issues PHP7 x64
| From: | Anatol Belski | Date: | Fri, 14 Apr 2017 22:38:38 +0000 |
| Subject: | RE: [INTERNALS-WIN] Re: SHM issues PHP7 x64 | ||
| References: | 1 2 3 4 | Groups: | php.internals.win |
| Request: | Send a blank email to internals-win+get-1171@lists.php.net to get a copy of this message | ||
Hi Jan,
> -----Original Message-----
> From: Jan Ehrhardt [mailto:phpdev@ehrhardt.nl]
> Sent: Friday, April 14, 2017 6:54 PM
> To: internals-win@lists.php.net
> 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