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 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 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 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 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 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 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.