Zend Framework Requirements
Zend Framework requires a PHP 5 interpreter with a web server configured
to handle PHP scripts correctly. Some features require additional extensions or
web server features; in most cases the framework can be used without them, although
performance may suffer or ancillary features may not be fully functional. An example
of such a dependency is mod_rewrite in an Apache environment, which can be used to
implement "pretty URL's" like "http://www.example.com/user/edit". If mod_rewrite is
not enabled, ZF can be configured to support URL's such as "http://www.example.com?controller=user&action=edit".
Pretty URL's may be used to shorten URL's for textual representation or search engine optimization (SEO),
but they do not directly affect the functionality of the application.
PHP Version
Zend recommends PHP 5.2.3 or higher for critical security and performance enhancements, although
Zend Framework requires only PHP 5.1.4 or later.
Zend Framework has an extensive collection of unit tests, which you can run using PHPUnit 3.0 or later.
PHP Extensions
You will find a table listing all extensions typically found in PHP
and how they are used in Zend Framework below. You should verify that the extensions on
which ZF components you'll be using in your application are available in your PHP environments.
Many applications will not require every extension listed below.
A dependency of type "hard" indicates that the components or classes
cannot function properly if the respective extension is not available,
while a dependency of type "soft" indicates that the component may use
the extension if it is available but will function properly if it is not.
Many components will automatically use certain extensions if they are available
to optimize performance but will execute code with similar functionality in the
component itself if the extensions are unavailable.
PHP Extensions Used in Zend Framework by Component
Extension
Dependency Type
Used by Zend Framework Components
apc
Hard
Zend_Cache_Backend_Apc
bcmath
Soft
Zend_Locale
bitset
Soft
Zend_Search_Lucene
bz2
---
---
calendar
---
---
com_dotnet
---
---
ctype
Hard
Zend_Auth_Adapter_Http
Zend_Gdata
Zend_Http_Client
Zend_Pdf
Zend_Rest_Client
Zend_Rest_Server
Zend_Search_Lucene
Zend_Uri
Zend_Validate
curl
Hard
Zend_Http_Client_Adapter_Curl
date
---
---
dba
---
---
dbase
---
---
dom
Hard
Zend_Feed
Zend_Gdata
Zend_Log_Formatter_Xml
Zend_Rest_Server
Zend_Search_Lucene
Zend_Service_Amazon
Zend_Service_Delicious
Zend_Service_Flickr
Zend_Service_Simpy
Zend_Service_Yahoo
Zend_XmlRpc
exif
---
---
fbsql
---
---
fdf
---
---
filter
---
---
ftp
---
---
gd
Hard
Zend_Pdf
gettext
---
---
gmp
---
---
hash
Hard
Zend_Auth_Adapter_Http
ibm_db2
Hard
Zend_Db_Adapter_Db2
iconv
Hard
Zend_Currency
Zend_Locale_Format
Zend_Mime
Zend_Pdf
Zend_Search_Lucene
Zend_Service_Audioscrobbler
Zend_Service_Flickr
Zend_XmlRpc_Client
imap
---
---
informix
---
---
interbase
Hard
Zend_Db_Adapter_Firebird
json
Soft
Zend_Json
ldap
---
---
libxml
Hard
DOM
SimpleXML
XSLT
mbstring
Hard
Zend_Feed
mcrypt
---
---
memcache
Hard
Zend_Cache_Backend_Memcached
mhash
---
---
mime_magic
Hard
Zend_Http_Client
ming
---
---
msql
---
---
mssql
---
---
mysql
---
---
mysqli
Hard
Zend_Db_Adapter_Mysqli
ncurses
---
---
oci8
Hard
Zend_Db_Adapter_Oracle
odbc
---
---
openssl
---
---
pcntl
---
---
pcre
Hard
Virtually all components
pdo
Hard
All PDO database adapters
pdo_dblib
---
---
pdo_firebird
---
---
pdo_mssql
Hard
Zend_Db_Adapter_Pdo_Mssql
pdo_mysql
Hard
Zend_Db_Adapter_Pdo_Mysql
pdo_oci
Hard
Zend_Db_Adapter_Pdo_Oci
pdo_pgsql
Hard
Zend_Db_Adapter_Pdo_Pgsql
pdo_sqlite
Hard
Zend_Db_Adapter_Pdo_Sqlite
pgsql
---
---
posix
Soft
Zend_Mail
pspell
---
---
readline
---
---
recode
---
---
Reflection
Hard
Zend_Controller
Zend_Filter
Zend_Filter_Input
Zend_Json
Zend_Log
Zend_Rest_Server
Zend_Server_Reflection
Zend_Validate
Zend_View
Zend_XmlRpc_Server
session
Hard
Zend_Controller_Action_Helper_Redirector
Zend_Session
shmop
---
SimpleXML
Hard
Zend_Config_Xml
Zend_Feed
Zend_Rest_Client
Zend_Service_Audioscrobbler
Zend_XmlRpc
soap
Hard
Zend_Service_StrikeIron
sockets
---
---
SPL
Hard
Virtually all components
SQLite
Hard
Zend_Cache_Backend_Sqlite
standard
Hard
Virtually all components
sybase
---
---
sysvmsg
---
---
sysvsem
---
--
sysvshm
---
---
tidy
---
---
tokenizer
---
---
wddx
---
---
xml
Hard
Zend_Translate_Adapter_Qt
Zend_Translate_Adapter_Tmx
Zend_Translate_Adapter_Xliff
XMLReader
---
---
xmlrpc
---
---
XMLWriter
---
---
xsl
---
---
zip
---
---
zlib
Hard
Zend_Pdf
Memcache
Zend Framework Components
Below is a table that lists all available Zend Framework Components
and which PHP extension they need. This can help guide you
to know which extensions are required for your application.
Not all extensions used by Zend Framework are required for every
application.
A dependency of type "hard" indicates that the components or classes
cannot function properly if the respective extension is not available,
while a dependency of type "soft" indicates that the component may use
the extension if it is available but will function properly if it is not.
Many components will automatically use certain extensions if they are available
to optimize performance but will execute code with similar functionality in the
component itself if the extensions are unavailable.
Zend Framework Components and the PHP Extensions they use
Zend Framework Components
Dependency Type
Subclass
PHP Extension
All Components
Hard
---
pcre
SPL
standard
Zend_Acl
---
---
---
Zend_Auth
Hard
Zend_Auth_Adapter_Http
ctype
hash
Zend_Cache
Hard
Zend_Cache_Backend_Apc
apc
Zend_Cache_Backend_Memcached
memcache
Zend_Cache_Backend_Sqlite
sqlite
Zend_Cache_Backend_Zlib
zlib
Zend_Config
Hard
Zend_Config_Xml
libxml
SimpleXML
Zend_Console_Getopt
---
---
---
Zend_Controller
Hard
---
Reflection
Zend_Controller_Action_Helper_Redirector
session
Zend_Currency
Hard
---
iconv
Zend_Date
---
---
---
Zend_Db
Hard
All PDO Adapters
pdo
Zend_Db_Adapter_Db2
ibm_db2
Zend_Db_Adapter_Mysqli
mysqli
Zend_Db_Adapter_Oracle
oci8
Zend_Db_Adapter_Pdo_Mssql
pdo_mssql
Zend_Db_Adapter_Pdo_Mysql
pdo_mysql
Zend_Db_Adapter_Pdo_Oci
pdo_oci
Zend_Db_Adapter_Pdo_Pgsql
pdo_pgsql
Zend_Db_Adapter_Pdo_Sqlite
pdo_sqlite
Zend_Debug
---
---
---
Zend_Exception
---
---
---
Zend_Feed
Hard
---
dom
libxml
mbstring
SimpleXML
Zend_Filter
Hard
---
Reflection
Zend_Form
---
---
---
Zend_Gdata
Hard
Zend_Gdata_App
ctype
---
dom
libxml
Zend_Http
Hard
Zend_Http_Client_Adapter_Curl
curl
Zend_Http_Client
ctype
mime_magic
Zend_InfoCard
---
---
---
Zend_Json
Soft
---
json
Hard
---
Reflection
Zend_Layout
---
---
---
Zend_Ldap
---
---
---
Zend_Loader
---
---
---
Zend_Locale
Soft
Zend_Locale_Math
bcmath
Hard
Zend_Locale_Format
iconv
Zend_Log
Hard
Zend_Log_Formatter_Xml
dom
libxml
---
Reflection
Zend_Mail
Soft
---
posix
Zend_Measure
---
---
---
Zend_Memory
---
---
---
Zend_Mime
Hard
Zend_Mime_Decode
iconv
Zend_OpenId
---
---
---
Zend_Pdf
Hard
---
ctype
gd
iconv
zlib
Zend_Registry
---
---
---
Zend_Request
---
---
---
Zend_Rest
Hard
Zend_Rest_Client
ctype
libxml
SimpleXML
Zend_Rest_Server
ctype
dom
libxml
Reflection
Zend_Search_Lucene
Soft
---
bitset
Hard
ctype
dom
iconv
libxml
Zend_Server_Reflection
Hard
---
Reflection
Zend_Service_Akismet
---
---
---
Zend_Service_Amazon
Hard
---
dom
libxml
Zend_Service_Audioscrobbler
Hard
---
iconv
libxml
SimpleXML
Zend_Service_Delicious
Hard
---
dom
libxml
Zend_Service_Flickr
Hard
---
dom
iconv
libxml
Zend_Service_Nirvanix
---
---
---
Zend_Service_Simpy
Hard
---
dom
libxml
Zend_Service_SlideShare
---
---
---
Zend_Service_StrikeIron
Hard
---
soap
Zend_Service_Technorati
---
---
---
Zend_Service_Yahoo
Hard
---
dom
libxml
Zend_Session
Hard
---
session
Zend_TimeSync
---
---
---
Zend_Translate
Hard
Zend_Translate_Adapter_Qt
xml
Zend_Translate_Adapter_Tmx
xml
Zend_Translate_Adapter_Xliff
xml
Zend_Uri
Hard
---
ctype
Zend_Validate
Hard
---
ctype
Reflection
Zend_Version
---
---
---
Zend_Validate
Hard
---
Reflection
Zend_XmlRpc
Hard
---
dom
libxml
SimpleXML
Zend_XmlRpc_Client
iconv
Zend_XmlRpc_Server
Reflection
Zend Framework Dependencies
Below you can find a table listing Zend Framework Components
and their dependencies to other Zend Framework Components. This
can help you if you need to have only single components instead
of the complete Zend Framework.
A dependency of type "hard" indicates that the components or classes
cannot function properly if the respective dependent component is not available,
while a dependency of type "soft" indicates that the component may need
the dependent component in special situations or with special adapters.
Even if it's possible to seperate single components for
usage from the complete Zend Framework you should keep
in mind that this can lead to problems when files are missed
or components are used dynamically.
Zend Framework Components and their dependency to other Zend Framework Components
Zend Framework Component
Dependency Type
Dependent Zend Framework Component
Zend_Acl
Hard
Zend_Exception
Zend_Auth
Hard
Zend_Exception
Soft
Zend_Db
Zend_InfoCard
Zend_Ldap
Zend_OpenId
Zend_Session
Zend_Cache
Hard
Zend_Exception
Zend_Loader
Zend_Config
Hard
Zend_Exception
Zend_Console_Getopt
Hard
Zend_Exception
Zend_Json
Zend_Controller
Hard
Zend_Config
Zend_Exception
Zend_Filter
Zend_Json
Zend_Layout
Zend_Loader
Zend_Registry
Zend_Session
Zend_Uri
Zend_View
Zend_Currency
Hard
Zend_Exception
Zend_Locale
Zend_Date
Hard
Zend_Exception
Zend_Locale
Zend_Db
Hard
Zend_Config
Zend_Exception
Zend_Loader
Zend_Registry
Zend_Debug
---
---
Zend_Exception
---
---
Zend_Feed
Hard
Zend_Exception
Zend_Http
Zend_Loader
Zend_Uri
Zend_Filter
Hard
Zend_Exception
Zend_Loader
Zend_Locale
Zend_Validate
Zend_Form
Hard
Zend_Controller
Zend_Exception
Zend_Filter
Zend_Json
Zend_Loader
Zend_Registry
Zend_Session
Zend_Validate
Zend_Gdata
Hard
Zend_Exception
Zend_Http
Zend_Loader
Zend_Mime
Zend_Version
Zend_Http
Hard
Zend_Exception
Zend_Loader
Zend_Uri
Zend_InfoCard
Hard
Zend_Loader
Zend_Json
Hard
Zend_Exception
Zend_Layout
Hard
Zend_Controller
Zend_Exception
Zend_Filter
Zend_Loader
Zend_View
Zend_Ldap
Hard
Zend_Exception
Zend_Loader
Hard
Zend_Exception
Zend_Locale
Hard
Zend_Exception
Zend_Log
Hard
Zend_Exception
Zend_Mail
Hard
Zend_Exception
Zend_Loader
Zend_Mime
Zend_Validate
Zend_Measure
Hard
Zend_Exception
Zend_Locale
Zend_Memory
Hard
Zend_Cache
Zend_Exception
Zend_Mime
Hard
Zend_Exception
Zend_OpenId
Hard
Zend_Controller
Zend_Exception
Zend_Http
Zend_Session
Zend_Pdf
Hard
Zend_Exception
Zend_Log
Zend_Memory
Zend_Registry
Hard
Zend_Exception
Zend_Loader
Zend_Request
---
---
Zend_Rest
Hard
Zend_Exception
Zend_Server
Zend_Service
Zend_Uri
Zend_Search_Lucene
Hard
Zend_Exception
Zend_Server_Reflection
Hard
Zend_Exception
Zend_Service_Akismet
Hard
Zend_Exception
Zend_Http
Zend_Uri
Zend_Version
Zend_Service_Amazon
Hard
Zend_Exception
Zend_Http
Zend_Rest
Zend_Service_Audioscrobbler
Hard
Zend_Exception
Zend_Http
Zend_Service_Delicious
Hard
Zend_Date
Zend_Exception
Zend_Http
Zend_Json
Zend_Rest
Zend_Service_Flickr
Hard
Zend_Exception
Zend_Http
Zend_Rest
Zend_Validate
Zend_Service_Nirvanix
Hard
Zend_Exception
Zend_Http
Zend_Loader
Zend_Service_Simpy
Hard
Zend_Exception
Zend_Http
Zend_Rest
Zend_Service_SlideShare
Hard
Zend_Cache
Zend_Exception
Zend_Http
Zend_Service_StrikeIron
Hard
Zend_Exception
Zend_Http
Zend_Loader
Zend_Service_Technorati
Hard
Zend_Date
Zend_Exception
Zend_Http
Zend_Locale
Zend_Rest
Zend_Uri
Zend_Service_Yahoo
Hard
Zend_Exception
Zend_Http
Zend_Rest
Zend_Validate
Zend_Session
Hard
Zend_Exception
Zend_Loader
Zend_TimeSync
Hard
Zend_Date
Zend_Exception
Zend_Loader
Zend_Translate
Hard
Zend_Exception
Zend_Loader
Zend_Locale
Zend_Uri
Hard
Zend_Exception
Zend_Loader
Zend_Validate
Zend_Validate
Soft
Zend_Date
Zend_Filter
Zend_Locale
Zend_Registry
Hard
Zend_Exception
Zend_Loader
Zend_Version
---
---
Zend_View
Hard
Zend_Controller
Zend_Exception
Zend_Json
Zend_Layout
Zend_Loader
Zend_Locale
Zend_Registry
Zend_XmlRpc
Hard
Zend_Exception
Zend_Registry
Zend_Server