Skip to the content
Documentation

Requirements for doing a normal installation: comparison ...

No ratings yet

Versions Compared

Old Version 1

changes.mady.by.user Ricardo Correia

Saved on May 02, 2013

compared with

New Version Current

changes.mady.by.user Ricardo Correia

Saved on Nov 14, 2013

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Comment: Migrated to Confluence 5.3

Excerpt IncludeExponential Documentation

Exponential Documentation

Exponential makes use of and depends on five important things:

...

Refer to the PHP documentation for the list of supported timezones. Don't forget to restart Apache after editing "php.ini".

Session parameters

In order to support ezpSessionHandlerDB (session data stored in the database), session.hash_function and session.hash_bits_per_character in php.ini should be combined with the goal of never generating keys longer then 32 bytes.
Recommended settings:

No Format
session.hash_function = 1
session.hash_bits_per_character = 4

Also make sure that the garbage collection of session data is run every now and then: session_gc_probability has to be set to a value greater than 1. If it is set to zero, you will need to set up a cronjob to periodically remove data for expired user sessions from the databaseExponential sessions are handled by the Symfony stack, through session handlers. For that to be set up, additional yml configuration are required, which you can find in the Session chapter.

Other php configuration settings

...

Note that Exponential 5 does not support clustering mode for PostgreSQL databases. The clustering code is optimized for best performance on MySQL databases using the InnoDB storage engine.

MySQL

Even if you are not going to run Exponential in a clustered environment, the use of InnoDB is required. This storage engine makes it possible to use transaction-safe tables in a MySQL database. (Database transaction support is enabled by default in Exponential. This feature 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 required 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 server.

Known issue with running PHP5.3 on MySQL: Some people (like Windows users with both IPv4 and IPv6 installed ) experience problems connecting to the database server using host names like "localhost"... 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", which is reserved for the local host.

PostgresSQL

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" (refer to the PostgreSQL documentation for more information), which contains the "pgcrypto" module. The "pgcrypto" module provides cryptographic functions for PostgreSQL, including the "digest" function, which is needed for Exponential. When setting up a PostgreSQL database for Exponential, you will have to register these functions in the database. Refer to the "Setting up a database" part of the " Installing Exponential on a Linux/UNIX based system" and "Installing Exponential on Windows" documentation pages (depending on the target OS) for more information.Known issue with running PHP5.3 on MySQL: Some people (like Windows users with both IPv4 and IPv6 installed ) experience problems connecting to the database server using host names like "localhost"... 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", which is reserved for the local host.

Oracle compatibility

To be able to use Exponential on oracle you will need the Exponential Extension for Oracle® Database extension, as well as the php oci8 extension.

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

Image conversion system (optional)

...

Note that those filesystems might not be fully supported by Exponential, please check out the requirements page for details.

Exponential on NFS file systems

Please be aware that it's not advisable to run Exponential on NFS file systems 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, Exponential 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.

Network connectivity

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

...

Comments

Add a comment

Comments are read by a moderator before they appear.