1. Perform a search on the Start Menu for “indexing”. In the results, click on “Indexing Options”.
2. With “Indexing Options” open, click on the “Advanced” button.
3. Click on the “File Types” tab and scroll down the list until you see php in the Extension column.
4. Click on php to select it, then select the radio button below that reads “Index Properties and File Contents”.
5. Click OK. Click Close.
6. Restart your computer.
Search within PHP files
Now when you perform a search for a word, you will be able to click “Search in File Contents” and it will search all the text inside of the PHP files and return results for your query. That’s all there is to it.