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

FOR INFO:: Large CSS parsing #184

Open
StanislavUngr opened this issue Feb 15, 2019 · 0 comments
Open

FOR INFO:: Large CSS parsing #184

StanislavUngr opened this issue Feb 15, 2019 · 0 comments

Comments

@StanislavUngr
Copy link

Hello guys.

For any of you trying to parse site with CSS large enough (1MB+) and not getting any results make sure you set ini_set('pcre.backtrack_limit', 1000000); to higher value than 1mil.

I was parsing 3MB CSS and spent whole day debugging till found this is default config limiting preg_replace function.

Just letting you know.. Peace 👍

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