Search for Text Inside of PHP Files with Vista

Problem

Windows ignores text inside of PHP files because it doesn’t recognize them. This makes it very difficult to search for specific words or phrases inside of PHP files.

Solution

  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.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Google
  • Technorati
  • Digg
  • del.icio.us
  • StumbleUpon
  • Sphinn
  • Facebook
  • Mixx

3 Responses to “Search for Text Inside of PHP Files with Vista”

  1. Hi Josh …
    I am looking for you … (or at least the Josh Stauffer who lives in Branson and worked for GE/Regal Beloit)
    I had no news and lost contact since I visited you a couple of years ago
    I am just concerned about the bad weather and Tornadoes in your area , and Hoping you are ok…
    If you are the one, please contact … edgar.prieto@nokia.com

  2. “Perform a search on the Start Menu for “indexing”. In the results, click on “Indexing Options”

    ————————

    I don’t see an “indexing” option under Start Menu search. Can you dummy down step 1 please?

  3. muze, Follow the red arrows in the graphic I have provided. It will help you follow the steps. Also, I have Vista Home Premium but not sure if that makes a difference.

Leave a Reply