ainoy31 Posted July 20, 2009 Share Posted July 20, 2009 I am trying to get information on my php installed package. We are running on Linux CentOS 4.4. Using this command does not return anything. It just returns another command prompt. I am logged in as root as well. rpm -qa | grep php Thanks. AM Quote Link to comment https://forums.phpfreaks.com/topic/166680-solved-rpm-command/ Share on other sites More sharing options...
rhodesa Posted July 20, 2009 Share Posted July 20, 2009 You have the syntax correctly, if another prompt comes back, then PHP wasn't installed with RPM. have you tried php -v Quote Link to comment https://forums.phpfreaks.com/topic/166680-solved-rpm-command/#findComment-878890 Share on other sites More sharing options...
ainoy31 Posted July 20, 2009 Author Share Posted July 20, 2009 yeah. it gives me the php version of 5.1.5 (cli)...etc Quote Link to comment https://forums.phpfreaks.com/topic/166680-solved-rpm-command/#findComment-878894 Share on other sites More sharing options...
rhodesa Posted July 20, 2009 Share Posted July 20, 2009 ok...what other information do you need? php was probably compiled from source, and is therefore not in the RPM list Quote Link to comment https://forums.phpfreaks.com/topic/166680-solved-rpm-command/#findComment-878902 Share on other sites More sharing options...
BMurtagh Posted July 21, 2009 Share Posted July 21, 2009 Hi AM, Put up a simple PHP info page in a web accessible directory and have the following code to output a run down of PHP on your system: <?php phpinfo(); ?> Quote Link to comment https://forums.phpfreaks.com/topic/166680-solved-rpm-command/#findComment-879316 Share on other sites More sharing options...
ainoy31 Posted July 24, 2009 Author Share Posted July 24, 2009 Thanks guys. My mind is on vacation. Quote Link to comment https://forums.phpfreaks.com/topic/166680-solved-rpm-command/#findComment-882083 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.