You cannot get the server version from phpinfo(or, depending on the situation).
I assume that you are after the values โโdisplayed in the Server Control GUI on the monitor | Server information, for example. versionand build. They are stored in $InstallDir/GUI/application/data/zend-server.ini. Your application must have access to the folder in which Ini is located, load the Ini file (using something like Zend_Config), and then you can work with the values.
Note that ZS builds with ZF and the files are not confused, so you can check their source code to see how they access this information. Reusing some of their code is very possible.
source
share