Zend Framework users who deploy Zend Server will benefit from a pre-configured stack that includes all the system components for developing Web applications with PHP.
Zend Server comes bundled with the latest versions of Zend Framework 1 and Zend Framework 2. The Zend Server Notification Center will notify you if any new versions of these libraries become available, allowing you to quickly update them if necessary.
This procedure will describe how to use the Zend Framework libraries installed in Zend Server.
|
|
|
To use Zend Framework in your code:
zend_deployment_library_path('Zend Framework 2', '2.0');
$zf2Path = zend_deployment_library_path('Zend Framework 2', '2.0'); |
Tip: To instruct the application to automatically use the latest available version of this library, and not a specific version, omit the version number (e.g., 'Zend Framework 2' instead of 'Zend Framework 2', '2.0'). If you do not enter the specific library version number in the API call, your application will use the default library version. For more information, see Setting a Default Library Version. |