eZ publish requirements according to the setup wizard
July 7th, 2006
This is a listing of the tests done by the setup wizard of eZ publish 3.8. You can use this list to predict if eZ publish will run on a specific web host or not.
Critical tests
eZ publish will probably not work correctly if a critical test fails.
Needed PHP extensions:
- session
- mysql OR pgsql
- gd2 OR the ImageMagick program
Required PHP settings:
- open_basedir “”
- safe_mode Off
- memory_limit at least 12M (this is too less for larger sites and for running some CLI scripts, according to the installation requirements it is highly recommended to have at least 64M)
- max_execution_time at least 30 (this could be too less for running some CLI scripts or for admin sites with a large content tree structure menu)
- magic_quotes_runtime Off
- allow_url_fopen On
- file_uploads On
Directory permissions:
- the directory specified by the upload_tmp_dir PHP setting (or the system’s default temporary directory if upload_tmp_dir is not specified) should be writeable by whatever user PHP/Apache is running as
- the following directories (if they exist) and all files inside should be writeable by whatever user PHP/Apache is running as:
- design
- settings
- settings/override
- settings/siteaccess
- settings/siteaccess/admin
- settings/siteaccess/demo
- settings/siteaccess/user
- var
- var/cache
- var/cache/codepages
- var/cache/content
- var/cache/ini
- var/cache/override
- var/cache/template
- var/cache/template/process
- var/cache/template/tree
- var/cache/texttoimage
- var/cache/translation
- var/log
- var/storage
- var/storage/original
- var/storage/reference
- var/storage/variations
Required Apache HTTP server settings:
- AcceptPathInfo On (only for Apache 2)
Optional tests
If an optional test fails then your website’s performance will not be optimal or you won’t be able to use some advanced eZ publish functionality.
PHP extensions:
- gd2 with FreeType support (the functions imagettftext and imagettfbbox have to exist)
- zlib
- mbstring
PHP settings:
- register_globals Off
- magic_quotes_gpc Off
Entry Filed under: eZ Publish


6 Comments Add your own
1. ?ukasz | July 7th, 2006 at 7:20 pm
eZ publish will work if base_dir is set, however safe_mode must be switch to off.
2. ?ukasz | July 7th, 2006 at 7:39 pm
MySQL user should also have permission to create temporary tables, which is used e.g. by search engine. This is also common problem which is not checked by setup wizard.
3. Kristof | July 20th, 2006 at 9:49 am
There is going on a related forum thread at http://ez.no/community/forum/developer/php_modules_needed_fo_ez_3_8_1/
I posted two enhancement requests regarding the domxml and exif extensions.
4. Kristof | July 2nd, 2007 at 5:56 pm
And another one for curl.
5. Kristof | December 5th, 2007 at 11:29 am
And of course zlib should be a critical test as well: http://issues.ez.no/8754 (fixed long ago).
6. Kristof | November 17th, 2008 at 3:24 pm
One of the reasons for the need for safe_mode having to be off:
http://issues.ez.no/13597
Having open_base_dir on can still cause issues, for example http://issues.ez.no/10446, http://issues.ez.no/13162.
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed