LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do i know if mysql/php/apache are installed (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-know-if-mysql-php-apache-are-installed-668900/)

alanceey 09-10-2008 07:34 AM

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

henry_shadowjet 09-10-2008 08:28 AM

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


All times are GMT -5. The time now is 07:46 AM.