Requirements

From LinphaWiki

Jump to: navigation, search

Contents

Server Requirements

What you need

  • A webserver, we recommend Apache but others are also known to work
  • A SQL Database, currently MySQL, Postgres and SQlite are supported
  • PHP version > 5.0 (LinPHA 1: PHP Version > 4.0.6)
  • A graphic manipulation library, we higly recommend ImageMagick (see ImageMagick) or the GD lib. (included within most PHP Distribution)

Required PHP settings

The following settings are required to run LinPHA (php.ini)

  • session.save_handler = files
  • session.save_path = /tmp (or set to a valid writable directory)

Suggested PHP settings

(php.ini) (linpha should work correctly even if these settings aren't set to our suggested values, but if you are able to change them, do it...)

  • magic_quotes_gpc = On
  • magic_quotes_runtime = Off
  • magic_quotes_sybase = Off
  • max_ execution_ time = 300
  • memory_limit = "20M"
  • session.use_cookies = 1
  • session.use_trans_sid = 0
  • file_uploads = On
  • upload_tmp_dir = /tmp (or set to a valid writable directory)
  • upload_max_filesize "8M"
  • safe_mode = Off
  • open_basedir not set
  • disable_functions not set

Restricted features if safe_mode is on

  • No special characters in album- and filenames allowed. (spaces are allowed). Characters and signs like ', ", etc. are not valid (only in combination with ImageMagick)
  • Watermark only works with images but not with text overlays (because the convert string contains " ' " ...) (only in combination with ImageMagick)
  • Download of zipped albums requires some manual hacks
  • To get best compatibility, all files should have the same owner and group, even the images itself


Client Requirements

  • JavaScript/CSS enabled Browser
  • All newer Browsers will work


  • Deactivated Javascript
    • No support for Slideshow
    • No support for some Admin sections (image fields, watermark)
Personal tools