Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help find a location of

Status
Not open for further replies.

NewToo

Technical User
Jun 11, 2001
136
Hello

I'm new at this:

May anyone please help me find the php.ini and httpd.conf
php is install in my server redhat 7.3


thanks
newtoo.
 
httpd.conf may be found in /etc/httpd, or /var/httpd, or it may be named /var/ /var/apache, or /etc/apache (the reason I give all these directory names is because I've seen installs which create the directories with a variation of these.) php.ini should be in /etc.

If you do this

for i in php.ini httd.conf; do find / -name $i; done on the command line it should find all locations for these files. Meekness: Uncommon patience in planning a revenge that is worth while.
-- Ambrose Bierce
 
d3funct

Thank you very much.

One last question...I hve install mysql database on my Linux 7.3 server how do i go about setup a username and password.


Thanks
Newtoo
 
That's more than just a quick question and answer. I suggest you read the how-to on or do a search on google for "mysql manual" I found a really good one in PDF one time doing that. Meekness: Uncommon patience in planning a revenge that is worth while.
-- Ambrose Bierce
 
You can use the locate command to find a file on your computer. If locate doesn't find it, then you should try updating the database it uses and run locate again.

updatedb --> this updates the database
locate httpd.conf
locate php.ini


Locate is a lot faster than the find command, but you have to make sure that the database is updated periodically (possibly through a cron job).


ChrisP
 
fluid11

Thank you for you're help

Newtoo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top