I would like to print PHP, Apache and Zend server version by running a PHP script.
What all commands or functions are there to display these result?
Am not looking for phpinfo()
;
How can I print specific v开发者_如何学编程alues in phpinfo like php version ? Am using Zend framework and Zend server.
I would like to display the version of Zend server and Zend framework. How can I do it?
http://php.net/manual/en/function.phpversion.php
http://www.php.net/manual/en/function.zend-version.php
http://php.net/manual/en/function.apache-get-version.php
You can get by
phpversion() and apache_get_version() and this will return the version of zend engine not the zend frame work zend_version()
to get the version of Zend Server you should go to localhost:10081, and log in. Click the server info tab, you should see everything you want on that page.
cat /etc/zce.rc | grep PRODUCT_VERSION
精彩评论