Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crashes on Apache 2 - 2.4 PHP 5.3.x Windows #52

Open
shrz opened this issue Jan 10, 2014 · 0 comments
Open

crashes on Apache 2 - 2.4 PHP 5.3.x Windows #52

shrz opened this issue Jan 10, 2014 · 0 comments

Comments

@shrz
Copy link

shrz commented Jan 10, 2014

I use Browscap to prevent crashes with native get_browser
https://bugs.php.net/bug.php?id=64934 , but have same errors

[notice] Parent: child process exited with status 3221225477 -- Restarting.

With 60 copies of test_get_browser.php Apache work ~30 sec and then crashes.

I don't wont to write my own User-Agent parser and status is the same, so may be someone here can fix Browscap.

Code looks like

// Loads the class
include_once './phpbrowscap/Browscap.php';

// The Browscap class is in the phpbrowscap namespace, so import it
use phpbrowscap\Browscap;

// Create a new Browscap object (loads or creates the cache)
$bc = new Browscap('./phpbrowscap/cache');

// Get information about the current browser's user agent
$browser = $bc->getBrowser();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant