I need to detect files which contain my string. Files sizes can be bigger than 4gb. I cannot do that simply using tools like file_get_contents()
because it try to put file in RAM.
How can I do this? Using standard PHP? Using elasticsearch or other external search engine?