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!
The static method Zend\Version\Version::getLatest() provides the version number of the last stable release available for download on the site Zend Framework.
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.
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.
The file Zend/Version.php
contains the version info.
echo Zend_Version::VERSION;
And for ZF2 the file Zend/Version/Version.php
contains the info.
echo \Zend\Version\Version::VERSION;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With