Bug #54918 [Asn->Csd]: browscap issues
Edit report at http://bugs.php.net/bug.php?id=54918&edit=1
ID: 54918
Updated by: scottmac@php.net
Reported by: neweracracker at gmail dot com
Summary: browscap issues
-Status: Assigned
+Status: Closed
Type: Bug
Package: Reproducible crash
Operating System: Windows 7
PHP Version: 5.3SVN-2011-05-24 (snap)
Assigned To: cataphract
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2011-06-03 02:42:09] scottmac@php.net
Automatic comment from SVN on behalf of scottmac
Revision: http://svn.php.net/viewvc/?view=revision&revision=311745
Log: Fix Bug #54918 - Crash when there is a failure to read the browscap file
------------------------------------------------------------------------
[2011-06-02 22:26:42] neweracracker at gmail dot com
If I put the full path to lite_php_browscap.ini it no longer crashes.
------------------------------------------------------------------------
[2011-06-02 22:22:57] neweracracker at gmail dot com
I've found why this happens.
lite_php_browscap.ini is not in php.ini dir. I've also looked at php_errors.log and it says.
[02-Jun-2011 17:17:30] PHP Warning: Cannot open 'lite_php_browscap.ini' for reading in
Unknown on line 0
And after that it crashes with backtrace above.
------------------------------------------------------------------------
[2011-06-01 16:09:57] neweracracker at gmail dot com
I can still reproduce the bug so I'll give details about configuration.
nginx.conf: http://pastebin.com/raw.php?i=iv0tvMjA
fastcgi_params: http://pastebin.com/raw.php?i=DZzhi3q2
php.ini: http://pastebin.com/raw.php?i=1betfPER
lite_php_browscap.ini: http://pastebin.com/raw.php?i=M0P1WUuk
------------------------------------------------------------------------
[2011-06-01 12:59:13] cataphract@php.net
I can't reproduce this.
I've tried 5.3.7-dev (after svn update) on Linux both as a CGI (non-TS) ran under mod_fcgid and
Apache module (TS) with worker MPM. I tried setting the browscap ini directive on php.ini, on
httpd.conf and on both simultaneously.
I've also tried the latest PHP 5.3.7-dev snapshot binaries (311680) on Windows, TS version,
with fcgi and nginx. Setting browscap in php.ini worked as expected; no crash.
Could you please try the latest SVN and/or give more details on your setup?
------------------------------------------------------------------------
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
http://bugs.php.net/bug.php?id=54918
--
Edit this bug report at http://bugs.php.net/bug.php?id=54918&edit=1
Thread (10 messages)