Fedora friendly debian user seeks help finding php.ini (5.0.5)

Paul Howarth paul at city-fan.org
Mon Sep 19 11:16:56 UTC 2005


Jared Hall wrote:
> Debian Users-
> 
> I seem to have missed my php.ini file.  I've compiled this particular
> server with php-5.0.5.
> I used phpinfo(); to find the damn thing, but when I went to the place
> that phpinfo() sent me it wasn't there!
> I've looked every where by hand, and then thought: "Is there some way
> of using grep which will save me time and energy which I don't know
> about." I've always used grep to search files and things like the
> dmesg and think it's very handy, one of these days I should read the
> man page on it... in fact I'll go do that right now, but in the mean time:
> 
> by some miracle of god is there a way of using grep to search for file
> names recursively?
> Is there any other way to save myself the hassle which lost files
> always cause me?

"grep" is a tool for looking for text inside files.

"find" is a tool for finding files by name or other properties.

Try:
# find / -name php.ini -print

This may take a while if you have a lot of files on your system, and/or 
network-mounted filesystems.

Paul.




More information about the fedora-list mailing list