LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installation query (https://www.linuxquestions.org/questions/linux-software-2/installation-query-219176/)

gubak 08-18-2004 06:47 AM

Installation query
 
How can I know if PHP is installed in my machine?

joe83 08-18-2004 08:52 AM

Try ls /var/log/packages this should show all your installed packages . You could also use whereis, find or locate <filename>


:Pengy:

rhce_ds 10-11-2006 06:46 AM

Query it
 
Just query it

[root@server ~]# rpm -qa php

It will give u the result as if it is installed

php-5.1.2-5

or else it will display empty which indicates that it is not installed..


All times are GMT -5. The time now is 05:15 PM.