epamuk Posted January 4, 2009 Share Posted January 4, 2009 Hi, I installed Php as default in the RedHat EL 5,2. I want to see this Php version. How can i see Php version in RHEL 5,2. Thanks Link to comment https://forums.phpfreaks.com/topic/139456-how-can-i-see-php-version/ Share on other sites More sharing options...
corbin Posted January 4, 2009 Share Posted January 4, 2009 http://php.net/phpinfo() Link to comment https://forums.phpfreaks.com/topic/139456-how-can-i-see-php-version/#findComment-729505 Share on other sites More sharing options...
epamuk Posted January 4, 2009 Author Share Posted January 4, 2009 Hi corbin, I dont know Php. Can i see this version in the any php file? Or different simple way? Thanks. Link to comment https://forums.phpfreaks.com/topic/139456-how-can-i-see-php-version/#findComment-729511 Share on other sites More sharing options...
Jack.C Posted January 4, 2009 Share Posted January 4, 2009 <?php // Show all information, defaults to INFO_ALL phpinfo(); // Show just the module information. // phpinfo( yields identical results. phpinfo(INFO_MODULES); ?> Place the above code in a file, and run it. It will the show your PHP info. Link to comment https://forums.phpfreaks.com/topic/139456-how-can-i-see-php-version/#findComment-729532 Share on other sites More sharing options...
epamuk Posted January 4, 2009 Author Share Posted January 4, 2009 Hi Jack, I will create an executable file in the RHEL and I will paste this code and save it. Then I will run this executabale file, isnt it? Thanks. Link to comment https://forums.phpfreaks.com/topic/139456-how-can-i-see-php-version/#findComment-729533 Share on other sites More sharing options...
Mark Baker Posted January 8, 2009 Share Posted January 8, 2009 or just do php -v from the command line Link to comment https://forums.phpfreaks.com/topic/139456-how-can-i-see-php-version/#findComment-732330 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.