开发者

How can i display PHP version, Zend Server Version and apache version?

开发者 https://www.devze.com 2023-02-22 17:54 出处:网络
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?

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

0

精彩评论

暂无评论...
验证码 换一张
取 消