ZF工具不显示版本详细信息或模块列表

最后发布: 2014-03-05 10:27:12


问题

在命令提示符下,输出如下:

VARADA@THOSHIBA c:\xampp
# php -v
PHP 5.4.7 (cli) (built: Sep 12 2012 23:48:31)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

VARADA@THOSHIBA c:\xampp
# php composer.phar show --installed
zendframework/zend-code           2.2.5              provides facilities t...
zendframework/zend-config         2.2.5              provides a nested obj...
zendframework/zend-console        2.2.5
zendframework/zend-eventmanager   2.2.5
zendframework/zend-file           2.2.5
zendframework/zend-filter         2.2.5              provides a set of com...
zendframework/zend-form           2.2.5
zendframework/zend-inputfilter    2.2.5
zendframework/zend-json           2.2.5              provides convenience ...
zendframework/zend-loader         2.2.5
zendframework/zend-math           2.2.5
zendframework/zend-modulemanager  2.2.5
zendframework/zend-mvc            2.2.5
zendframework/zend-serializer     2.2.5              provides an adapter b...
zendframework/zend-servicemanager 2.2.5
zendframework/zend-stdlib         2.2.5
zendframework/zend-text           2.2.5
zendframework/zend-validator      2.2.5              provides a set of com...
zendframework/zend-version        2.2.5
zendframework/zend-view           2.2.5              provides a system of ...
zendframework/zftool              dev-master d73bf6f Utility module for Ze...

VARADA@THOSHIBA c:\xampp
# zf.php version

VARADA@THOSHIBA c:\xampp
#

对于zf.php版本,我没有收到任何错误或o / p。 任何想法?

php zend-framework
回答

我不确定我是否理解,但是显示Zend(1)版本的语法是:

zf.php show version

希望对您有所帮助