2. Web Server Setup

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

PHP


Minimum required version of PHP is 7.2.0

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


Rogō uses the inbuilt PHP email functionality you will need to configure in order for Rogō to use it.

See the manual.

Webserver


The minimum required version of Apache is 2.4

Please ensure the following Apache modules are installed and enabled:

  • mod_ssl
  • mod_rewrite
  • mod_headers or mod_expires


File System


When installing Rogō 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 Rogō  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