7

Is there a way to determe what version of zend framework is installed on a server/included in the app? The reason I'm asking is that I'm on a shared host and I would like to use a different version than that supplied by the host and I would like to be certain that the version I'm supplying is the one being utilized by my website.

Thanks a lot!

user387302
  • 395
  • 1
  • 4
  • 13

3 Answers3

13

The file Zend/Version.php contains the version info.

echo Zend_Version::VERSION;
David Weinraub
  • 14,144
  • 4
  • 42
  • 64
1

And for ZF2 the file Zend/Version/Version.php contains the info.

echo \Zend\Version\Version::VERSION;
drew010
  • 68,777
  • 11
  • 134
  • 162
0

Too determine Latest version of the installed Zend Framework,just follow the following two steps

One, Navigate to your project for example: oPEN CMD and navigate to your project files installation "cd /path/to/project/"

Two,Type "php composer show --installed" or "composer show --installed" depending wit your system configuration

This will give an output of all packages installed on your system with zend being inclusive

sudo255
  • 11
  • 3