2. Web Server Setup

Rogo 7.0.0

Below is a guide on how to setup you web sever for the latest version of Rogō.

If you have a PHP expert or web server administrator you are recommended to contact them for advice first.

PHP

See the community release notes for the version of rogo you are installing to see the required PHP version.

Please ensure the following PHP extension are installed and enabled:

  • mysqli

  • curl

  • gd

  • ctype

  • mbstring

  • xml

  • xmlrpc

  • fileinfo

  • zip

  • ldap (optional - only required if ldap authentication is to be used)

  • sockets (optional - only required if Rrserve used for calculation questions)

  • pdo_mysqli (optional - only required if you use oauth)

Non default PHP settings that may require a change in your php.ini:

max_execution_time

120

memory_limit

512M

post_max_size

20M

upload_max_filesize

20M

default_charset

"utf-8"

mbstring.internal_encoding

UTF-8

max_input_vars

3000

Email

From ExamSys 7.6.0 PHP mailer is included that allows you to connect directly to a mail server, you can configure it in Administrative Tools > Configuration

Setting

Explanation

Setting

Explanation

mailer_auth

When checked authentication is required

mailer_debug

Set a PHP mailer debug level, on production servers you probably want to leave it at the default 0.

mailer_host

The address of the mail server (if empty the built-in php mail functions will be used)

mailer_password

Password for the e-mail account

mailer_port

The port of the e-mail server

mailer_secure

Valid settings are: ssl, tls or blank

mailer_username

User name for connecting to the e-mail server

If you do not wish to use that, or are on an earlier version you must configure the inbuilt PHP email functionality you will need to configure in order for ExamSys to use it.

See the manual.

Webserver

Apache is currently the only supported web server. However, there should be no impediments to using any other web server. Please let us know if you do successfully run Rogō on a non-Apache web server.

See the community release notes for the version of rogo you are installing to see the required Apache version.

Please ensure the following Apache modules are installed and enabled:

  • mod_ssl

  • mod_rewrite

  • mod_headers or mod_expires

File System

When installing ExamSys it is recommended that the default data directory is changed to a path outside of the webserver directory. As well as for added security this will make updating ExamSys in the future more seamless as data directories will not need to be moved around.

Permissions

Most directories in Rogō should be set up to be writable by the owner only:

Exceptions to this rule include the following directories which need to allow higher write privileges for the web server user:

  • rogo data directory

  • rogo config directory - for installation only, so that config.inc.php can be written. This should be changed back to being writable by the owner only after installation.

  • rogo temp directory

Filter by label

There are no items with the selected labels at this time.