Message-ID: <151243504.4064.1485856516489.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_4063_762709546.1485856516489" ------=_Part_4063_762709546.1485856516489 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Requirements for doing a normal installation

Requirements for doing a normal installation

eZ Publish makes use of and depends on five important things:

  1. A web server
  2. The server-side PHP scripting engine
  3. A database server
  4. An image conversion system (optional)
  5. The Zeta Components library
The first three things listed above should be in place before an eZ Publish= installation is deployed. The image conversion system is optional and is o= nly needed if you're planning to use eZ Publish with images. The web server= and the server-side PHP scripting engine have to run on the same machine. = The database server may run on a different computer.

[=20 Web server ] [=20 Server-side PHP scripting engine ] [=20 Zlib ext= ension ] [=20 DOM exten= sion ] [=20 PHP CLI ] [= =20 CURL ] [=20 PHP mem= ory limit ] [=20 PHP timezo= ne ] [=20 Sess= ion parameters ] [=20 Other php configuration settings ] [=20 Databas= e server ] [=20 MySQL ] [=20 PostgresSQ= L ] [=20 Or= acle compatibility ] [=20 Image conversion system (optional) ] [=20 Limitation on some file systems w= hen storing large number of content files ] [=20 eZ Publish on NFS file systems ] [=20 Ne= twork connectivity ]

Please visit the=20 requirements page to check if you= r platform is fully supports installing eZ Publish, then come back for the = extra details which follow.

Web server

See the The web servers page

Server-side PHP scripting engine

PHP is free software and can be downloaded from http://www= .php.net. The full list of extensions needed can be found on the requirements page. Info on some caveats= can be found below.

Zlib exten= sion

Make sure that zlib support in PHP is enabled, ot= herwise the setup wizard will= not be able to unpack downloaded packages during the installation process.=

DOM extensi= on

In most cases, DOM functions are enabled by defaul= t as they are included in the PHP core. However, some Linux distributions h= ave PHP without compiled-in support for DOM. Instead, they provide DOM as a= shared module in a separate RPM package called "php-xml".

PHP CLI

Since version 5.0, it i= s necessary to have PHP CLI ins= talled, as using php from the command line is needed during the se= tup process. Also, some features like notifications, delayed search indexing, upgrade scripts, = the collaboration system (content approval), clearing caches from within th= e command line, etc. will not work without php cli access.

CURL

It is recommended to enable CURL= support, otherwise some features like outbound connection= s via proxy and SSL support for eZSoap will not work.

PHP memor= y limit

eZ Publish 5.3-alpha1/2004.01 and higher needs "memory_limit =3D 2= 56M" in order to complete the setup wizard, or to execute its tests.=
Earlier releases needed "memory_limit=3D 128MB" as is the= default in PHP.

php.ini
=20
memory_limit =3D 256M

#prior to eZ Publish 5.3-alpha1/2004.01
#memory_limit =3D 128M
=20

PHP timezone=

You need to set the "date.time= zone" value in the "php.ini" configuration file. If this s= etting is not specified, you will most likely receive error messages like <= em>"It is not safe to rely on the system's timezone settings" when run= ning eZ Publish on PHP 5.
The following example shows how the correspon= ding line in "php.ini" looks like:

php.ini
=20
date.timezone =3D <timezone>
=20
Refer to the=20 PHP documentation for the list of supported timezones.

Don't forget to restart Apache after editing "php.ini".

Session parameters

eZ Publish sessions are handled by the Symfony stack, t= hrough session handlers. For that to be set up, additional= YAML configuration are required, which you can find in the&nb= sp;Session chapter.

Other php configuration settings

See the Symfony documentation for t= he recommended php.ini settings for Symfony, as well as the Vhost example for the recommended php.ini settings for eZ Publish.

Database = server

eZ Publish stores data structures and content using a relational= database. This means that a database server has to be available f= or eZ Publish at all times. Follow this link to the eZ Publish requirements pa= ge to find which database solutions eZ Publish is compatible with.

eZ Publish 5 requires a UTF-8 database and support for = transactions, which for MySQL means using the InnoDB storage engine.

The Setup Wizard will auto= matically detect the database server during operation of the setup wizard i= f it is running on the same computer that operates as web server.

Note that eZ Publish 5 does not support=20 clustering mode for Post= greSQL databases. The clustering code is optimized for best performance on = MySQL databases using the=20 InnoDB storag= e engine.

MySQL

Even if you are not going to run eZ Publish in a clustered environment, = the use of InnoDB is required. This storage engine makes it po= ssible to use transaction-safe tables in a MySQL database.

Database transaction support is enabled by default in eZ Publish. This feat= ure makes the system less vulnerable to database errors and inconsistencies= due to aborted requests.

Contact your database administrator if you are unsure about whether InnoDB is available on your server.

MySQL can be tweaked with a lot of settings, but one setting which is re= quired to set to a higher value is innodb_buffer_pool_size , by default it is set to 8MB, but it needs at least to be set to 128MB, = or as the MySQL doc says up to 80% of system memory on dedicated database s= erver.

Known issue with running PHP5.3 on MySQL: Some peo= ple (like Windows users with both IPv4 and IPv6 installed ) experience prob= lems connecting to the database server using host names like "localho= st". If you experience problems, try using IPv4 address like "= 127.0.0.1". This is due to a connectivity problem when running PHP5.= 3 on MySQL. So, please replace the database server name "localhost" with the IP address of the machine, or "127.0.0.1", whic= h is reserved for the local host.

PostgresSQL<= /h3>

If you want to use PostgreSQL, make sure the "pgcrypto" module is installed. On Linux/UNIX, you = may need to install a separate package called "postgresql-contrib" which contains the "pgcrypto" module. The "pgcrypto= " module provides cryptographic functions for PostgreSQL, including = the "digest" function, which is needed for eZ Publish.

Refer to the=20 PostgreSQL documentation for more info= rmation

When setting up a PostgreSQL database for eZ Publish, you will have to register these functions in the database.

Refer to the " Setting up a database" part of the " Installing eZ Publish on a Linux-UNIX based system" and " Installing eZ Pub= lish on Windows" documentation pages (depending on the target OS) for m= ore information.

Orac= le compatibility

To be able to use eZ Publish on oracle you will need the eZ Publish Ext= ension for Oracle=C2=AE Database extension, as well as the php oci8 extension.

Please note that installing eZ Publish via the setup wizard directly on an = Oracle database is currently not supported.

Supported only on eZ Publish 5.0, which is also the last version support= ing Oracle on full legacy installations, which support does not include RES= T API usage or new "Symfony / eZ Platform" stack. Support is planned to ret= urn with one of the first releases of "eZ Platform", aka "6.x".

Image conversion system (optional)

In order to resize, convert or modify images, eZ Publish needs to make u= se of an image conversion system. One of the following sof= tware packages (both are free) can be used:

ImageMagick supports more formats than GD and usually produces better re= sults (better scaling, etc.). The setup wizard will automatically detect th= e pre-installed image conversion system(s).

The installation and setup of required software solutions (outlined abov= e) is far beyond the scope of this document. Please refer to the homepage a= nd documentation of the different software solutions.

Composer will need GD to run.

 

Limitation on some file systems whe= n storing large number of content files

eZ Publish stores all binary content (e.g. images, PDFs, etc.) in = var/storage using a similar folder structure to the content tree, cr= eating one folder for each object.
In most file systems used under Linu= x (especially ext2 + ext3) there is a hard limit of 32.000 sub-folders to t= he maximum which can be created in one folder. This means that it i= s not possible to store more than 31999 objects under one parent object.

To get around this limitation without changing the file system, you can = split your content tree so that you don't have more than 3= 2k content files (example: images) in the same folder.

Other file systems support more file/folder entries per folder:

  • ext4: 64.000
  • ReiserFS: roughly 1.2 million
  • ZFS: 2^48 (a really big number: 281474976710656)!
Note that those filesystems might not be fully supported by eZ Publish, ple= ase check out the=20 requirements page for details.

eZ Publish on NFS file systems

Please be aware that it's not advisable to run eZ Publish on NFS file sy= stems as you may experience issues. The cause of the issues may be = performance, as NFS will slow down on heavy network traffic, slow = access to files, or file access concurrency regarding file lock. Also, eZ P= ublish currently uses the flock() = PHP function, which is not considered stable for NFS shares.

NFS should only be used to store distributed data such as cache, or binary = files, in clustered environments.

Netw= ork connectivity

During execution of the setup = wizard, the web server will need to download some content from the inte= rnet.

If the web server can not access directly the internet, or if it has to go = through a proxy, workarounds have to be taken. See the=20 setup wizard documentation pa= ge for possible workarounds

------=_Part_4063_762709546.1485856516489--