Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Determining version of zend framework installed on server

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!

like image 445
user387302 Avatar asked Jul 29 '10 00:07

user387302


People also ask

How do I check my Zend Framework version?

The static method Zend\Version\Version::getLatest() provides the version number of the last stable release available for download on the site Zend Framework.

What is latest version of Zend?

Zend Server 8.5. 19 is a security update release. It updates PHP to version 5.6. 40.16, and includes fixes for both CVE-2022-31626 and CVE-2022-31625.

Which command is used to install Zend Framework 2?

The command: composer create-project -n -sdev zendframework/skeleton-application path/to/install always create a ZendFramework 3 app is their is a command to create a project of zendfrmaework 2.


2 Answers

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

echo Zend_Version::VERSION;
like image 105
David Weinraub Avatar answered Nov 06 '22 21:11

David Weinraub


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

echo \Zend\Version\Version::VERSION;
like image 29
drew010 Avatar answered Nov 06 '22 23:11

drew010