Bug #54918 [Com]: browscap issues
Edit report at http://bugs.php.net/bug.php?id=54918&edit=1
ID: 54918
Comment by: neweracracker at gmail dot com
Reported by: neweracracker at gmail dot com
Summary: browscap issues
Status: Assigned
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:
If I put the full path to lite_php_browscap.ini it no longer crashes.
Previous Comments:
------------------------------------------------------------------------
[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?
------------------------------------------------------------------------
[2011-05-25 13:02:27] cataphract@php.net
I'm assigning to me; it's likely related to the changes I've made recently.
------------------------------------------------------------------------
[2011-05-25 01:35:26] neweracracker at gmail dot com
Changing status to open
------------------------------------------------------------------------
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)