Bug #74815 [Opn->Ver]: php.exe fails with a combination of INI entries using -d

From: Date: Tue, 27 Jun 2017 03:11:55 +0000
Subject: Bug #74815 [Opn->Ver]: php.exe fails with a combination of INI entries using -d
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209696@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74815&edit=1

 ID:                 74815
 Updated by:         requinix@php.net
 Reported by:        mlocati at gmail dot com
-Summary:            php.exe fails with a combination of INI entries
+Summary:            php.exe fails with a combination of INI entries
                     using -d
-Status:             Open
+Status:             Verified
 Type:               Bug
-Package:            *General Issues
+Package:            Reproducible crash
 Operating System:   Windows 10
 PHP Version:        7.2.0alpha2
 Block user comment: N
 Private report:     N

 New Comment:

Reproduced, but I'm having a hard time getting a backtrace. Can you?
http://bugs.php.net/bugs-generating-backtrace-win32.php

As far as I can tell the problem is during the attempt to open (or write to?) the error_log when PHP
says at startup that track_errors is deprecated.


Previous Comments:
------------------------------------------------------------------------
[2017-06-26 14:43:55] mlocati at gmail dot com

Description:
------------
I'm on Windows 10.0.15063 64 bit, testing PHP 7.2.0alpha2 VC15 x86 Thread Safe.

PHP.exe fails with a combination of entries in the INI file: see the following console session:

C:\Dev\PHP7.2>php -n -v
PHP 7.2.0alpha2 (cli) (built: Jun 20 2017 20:28:13) ( ZTS MSVC15 (Visual C++ 2017) x86 )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.2.0-dev, Copyright (c) 1998-2017 Zend Technologies

C:\Dev\PHP7.2>php -n -r "echo 1+1;"
2
C:\Dev\PHP7.2>php -n -d error_log=errors.log -d error_reporting=E_ALL -d log_errors=On -d
track_errors=On -r "echo 1+1;"

With this last command, php.exe fails (a popup tells me that "CLI stopped working").

If I omit one of the four INI entries above (any of them), PHP.exe works.
With all the four entries above it stops working.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=74815&edit=1


Thread (5 messages)

« previous php.bugs (#209696) next »