LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-10-2008, 07:34 AM   #1
alanceey
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
how do i know if mysql/php/apache are installed


I am using a red hat linux distro and when ever i try to access the database i get this error msg.........
'cant connect to local Mysql server through socket "/var4/lib/mysql/mysql.sock" every time

I am now wondering that mysql is not installed or properly configured.

how do i know if mysql/php/apache are installed
 
Old 09-10-2008, 08:28 AM   #2
henry_shadowjet
Member
 
Registered: Oct 2006
Posts: 55

Rep: Reputation: 15
To know if they're installed, well you can run the following on bash/terminal as root:

rpm -qa | grep -i mysql
rpm -qa | grep -i httpd
rpm -qa | grep -i php

Hope that helps
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i Know Apache PHP MYSQL Installed on my Dedicated Server? phpsharma Linux - Newbie 3 04-18-2005 05:40 PM
Upgrade MySQL from 3.23 to 4.0 on FreeBSD with PHP and Apache installed somah *BSD 2 10-07-2004 10:59 AM
installed apache, mysql -- help with php machiner Linux - Software 2 07-28-2004 01:36 PM
How do I know that apache, MySql, PHP, phpMyAdmin is Installed AskMe Linux - Newbie 7 02-04-2004 05:27 PM
Linux 8.0 installed with Apache 2.0, PHP and MySQL fmagoufis Linux - Newbie 1 12-12-2002 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration