| System Requirements | As PHP version the eZ Components require version 5.1.1, although a later version is always recommended.
Some of the components require that certain PHP extensions are enabled in the build. While most of them are enabled by default, some of them have to added explicitly. The table below lists all the components, and which extensions are required or optional.
Required and Preferred Extensions
|
Component
|
Extension (default)
|
Extension Required
|
Extension Optional
|
|
All
|
pcre, spl
|
|
|
|
Authentication
|
|
|
bc or gmp for typekey and openid support, ldap for LDAP support
|
|
AuthenticationDatabaseTiein
|
|
|
|
|
Archive
|
zlib, posix
|
bz2
|
posix for permission support
|
|
Base
|
posix
|
|
posix to test if features are enabled
|
|
Cache
|
|
|
|
|
Configuration
|
posix
|
|
|
|
ConsoleTools
|
|
|
|
|
Database
|
pdo, pdo_sqlite
|
|
pdo_mysql, pdo_oci8, pdo_pgsql Depending on the database that you what to use.
|
|
DatabaseSchema
|
simplexml
|
|
Same as Database
|
|
Debug
|
|
|
|
|
EventLog
|
|
|
Same as Database, if you want to log to a database.
|
|
Execution
|
|
|
|
|
Feed
|
dom
|
|
|
|
File
|
|
|
|
|
Graph
|
dom, xml
|
|
gd to generate bitmaps (with TrueType font support or Type1 font support). ming for generating Graphs as flash files.
|
|
GraphDatabaseTiein
|
pdo
|
|
Same as Database
|
|
ImageAnalysis
|
ctype
|
exif
|
|
|
ImageConversion
|
|
|
gd
|
|
Mail
|
iconv
|
|
fileinfo for better detection of mime-types when sending e-mails, openssl for SSL support
|
|
PersistentObject
|
|
|
|
|
PhpGenerator
|
|
|
|
|
SignalSlot
|
|
|
|
|
SystemInformation
|
|
|
win32ps (on windows)
|
|
Template
|
|
|
|
|
Translation
|
ctype, simplexml
|
|
|
|
TranslationCacheTiein
|
|
|
|
|
Url
|
|
|
|
|
UserInput
|
filter
|
|
|
|
Workflow
|
simplexml, dom
|
|
|
|
WorkflowDatabaseTiein
|
|
|
|
|
WorkflowEventLogTiein
|
|
|
|
Quick Reference on Enabling Extensions
Extensions that are enabled by default in PHP
|
Extension
|
Configure switch(es)
|
|
ctype
|
--enable-ctype
|
|
dom
|
--enable-dom --enable-libxml
|
|
iconv
|
--with-iconv
|
|
pcre
|
--with-pcre-regex
|
|
pdo
|
--enable-pdo
|
|
pdo_sqlite
|
--with-pdo-sqlite
|
|
posix
|
--enable-posix
|
|
simplexml
|
--enable-simplexml
|
|
spl
|
--enable-spl
|
|
xml
|
--enable-xml
|
|
zlib
|
--with-zlib
|
Extensions that are bundled with PHP
|
Extension
|
Configure switch(es)
|
Remarks
|
|
bc
|
--enable-bcmath
|
|
|
bz2
|
--with-bz2
|
|
|
gd
|
--with-gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-ttf --with-xpm-dir --with-png-dir --with-jpeg-dir --with-t1lib
|
The eZ Components want at least PNG and JPG support, other parts are optional. We suggest to compile GD also with FreeType2 support as well to enable all features of the Components.
|
|
gmp
|
--with-gmp
|
|
|
ldap
|
--with-ldap
|
|
|
ming
|
--with-ming
|
|
|
exif
|
--enable-exif
|
|
|
filter
|
--enable-filter
|
In PHP 5.2.0 and higher you can simply use --enable-filter, in PHP 5.1.x you need to install the filter extension through PECL.
|
|
pdo_mysql
|
--with-pdo-mysql
|
|
|
pdo_oci8
|
--with-pdo-oci
|
|
|
pdo_pgsql
|
--with-pdo-pgsql
|
|
|
openssl
|
--with-openssl
|
|
Extensions that are not bundled with PHP
|
Extension
|
Configure switch(es)
|
|
fileinfo
|
You need to install the fileinfo extension through PECL.
|
|