Prerequisites
- Some webserver capable of executing PHP scripts.
- PHP version >= 5.6
- Support for the following PHP extensions:
- Always required:
date
,dom
,hash
,libxml
,openssl
,pcre
,SPL
,zlib
,json
,mbstring
- When automatically checking for latest versions, and used by some modules:
cURL
- When using native PHP session handler:
session
- When saving session information to a memcache server:
memcache
- Always required:
- When using databases:
- Always:
PDO
- Database driver: (
mysql
,pgsql
, ...)
- Always:
- Support for the following PHP packages:
- When saving session information to a Redis server:
predis
What actual packages are required for the various extensions varies between different platforms and distributions.
Installation Steps
1. Install the Prerequisites Extensions
2. Download and Extract the SimpleSAMLphp installer
3. Create an HTTPD Configuration File
Alias /sso /var/www/simplesamlphp/www <Directory /var/www/simplesamlphp/www> <IfModule !mod_authz_core.c> # For Apache 2.2: Order allow,deny Allow from all </IfModule> <IfModule mod_authz_core.c> # For Apache 2.4: Require all granted </IfModule> </Directory>
4. Restart the HTTPD Service
5. Generate SSL Certificate
6. Edit SimpleSAMLphp Configuration File
- Find auth.adminpassword , set the admin password.
- Find baseurlpath , set to 'sso/'
- Find secretsalt , set the key for the salt.
- Find admin.protectindexpage , set to true.
- Find technicalcontact_name and technicalcontact_email , set them with appropriate values. Use a service email address rather than a personal email.
- Find timezone , set with a preferred time zone from this list of timezones for PHP . For example: 'Etc/UTC'