Edit report at https://bugs.php.net/bug.php?id=60828&edit=1
ID: 60828
Comment by: mattficken@php.net
Reported by: bugzilla33 at gmail dot com
Summary: crash with specific php.ini
Status: Assigned
Type: Bug
Package: Reproducible crash
Operating System: Win 7 32/64 bit
PHP Version: 5.4.0RC6
Assigned To: mattficken
Block user comment: N
Private report: N
New Comment:
Using both the INI files from http://host0001.webd.pl/bugs/php/crash.zip and
http://host0001.webd.pl/bugs/php/bug.7z
(and apache2.21.2 and php 5.4.0rc7 from bug.7z) I can NOT reproduce this problem on either
Win7sp0x64 or Win7sp1x64.
I have enabled the extensions from step 5 (gd2, mbstring, openssl, sockets).
On both OS/Versions PHP and apache don't crash, and the extensions that are enabled show up in
phpinfo().
Thank you for providing a detailed repro setup (bug.7z) with all dependencies, etc... It makes it
fast and accurate to try to repro.
If you want us to proceed further, would you provide the output of the 'systeminfo'
command (from command prompt, run 'systeminfo'). That will provide patch information,
etc... about the affected machine.
Previous Comments:
------------------------------------------------------------------------
[2012-02-03 18:28:26] pajoye@php.net
Matt, can you try to reproduce these steps please? I can't.
------------------------------------------------------------------------
[2012-02-03 18:25:34] bugzilla33 at gmail dot com
0. download http://host0001.webd.pl/bugs/php/bug.7z
1. This is http://www.apachelounge.com/download/binaries/httpd-2.2.21-win32.zip
2. And http://windows.php.net/downloads/qa/php-5.4.0RC7-Win32-VC9-x86.zip
3. httpd.conf modifications
PHPINIDir c:/php54
LoadModule php5_module c:/php54/php5apache2_2.dll
AddType application/x-httpd-php .php
4. php.ini (from php.ini-development) modifications
extension_dir = "c:\php54\ext"
extension=php_gd2.dll
extension=php_intl.dll
extension=php_mbstring.dll
5. Steps to reproduce
- use Windows 7 (64-bit ?)
- upack this to c:\ root
- run install.bat (install Apache service)
- run start.bat (start Apache service)
- type in browser http://127.0.0.1/phpinfo.php
6. Expected result
- gd loaded
- intl loaded
- mbstring loaded
7. Actual result
- only mbstring loaded
8. Tested on two other machines
------------------------------------------------------------------------
[2012-01-23 07:13:41] bugzilla33 at gmail dot com
It's interesting, but this error only occurs on my machine.
It is independent of the operating system (Win 7 32/64 bit).
I can not reproduce it on another machine.
------------------------------------------------------------------------
[2012-01-22 16:27:03] bugzilla33 at gmail dot com
it's strange, but if you are loading additional php_soap.dll
extension_dir = "c:\php5\ext"
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_openssl.dll
extension=php_soap.dll
extension=php_sockets.dll
(Please compare with the first comment.)
Apache do not crash!
What is this strange behavior is caused by? (introduced in RC5)
------------------------------------------------------------------------
[2012-01-22 16:15:47] pajoye@php.net
"Fix it then so that the internal loading order is not strictly tied to the order
in php.ini"
they are loaded as listed in php.ini
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=60828
--
Edit this bug report at https://bugs.php.net/bug.php?id=60828&edit=1