run:
updatedb

Which generates an index for quickly finding files, man-pages, libs, executables.

(this may take a few minutes)
Code:
whereis php4
locate php4
which php4