Use the following command the find all occurrences of a specified word in a text file:
home# grep -r --include="php.ini" -e "memory_limit" .
Please note there is a full drop .
at the end of the command above.
Reference:
https://tecadmin.net/find-all-files-containing-specific-text-on-linux/