I have spent a long time looking for a way to search a phrase across some of my php files in Windows 7.
Things I have done include:
- enabling “Always search file names and contents” in Windows Explorer;
- adding php in the list of “Index properties and File Contents to enable content search” in Indexing Options;
- making sure the directory is indexed;
- making sure I have the permission to that directory (C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs).
What else should I try? Is that even possible to do that in Windows 7? If not, I’ll have to install Cygwin, which I am reluctant to do now.