Hi , I have an ubuntu 11.04 server. I am looking to edit my php.ini file. Where is it located? I do have php5 installed. Thanks Heeter
Here is one on my favorite commands since I some times forget where I might have placed a file by accident sudo find / -name 'php.ini' What this does is gain super user access and start in the / (root directory) and the rest fines what ever you like. Also you could use a wildcard if you only new some of the filename. sudo find / -name 'php*' I hope you find this useful.
Thanks a lot for that, mmidgett. I am always in that boat, looking for misplaced stuff. Thanks again, Heeter
Oh... I am not the only one that forgets where files are lol xD Maybe this could become usefull for you in the future... To find any files with certain string inside use: find / -type f -exec grep -i "phrase to find" {} \; -print To find files modified 1 day ago or less, use (replace 1 with number of days): find / -type f -mtime -1 -print Regards xD