Configuring PHP
Installation
 

If you decided to install PHP with a webserver of your choice, you would need a couple of tweaks to get PHP ready to work with the desk.

If deciding to use XAMPP, some versions may have an issue with libsasl.dll file on windows. In this case copy c:\xampp\php\ext\libsasl.dll to c:\xampp\apache\bin.

The default PHP install comes with most extensions required to make the desk work. The one extension required to be downloaded is SourceGaurdian. In most cases when you open the desk's url with an un-installed, just unzipped version, it will tell you the right version to download and the location to copy the file to. Folow the instructions and copy the file to the correct location. The message will also tell you what enrty is required in the php.ini file. See screenshot below:

  1. Download the file
  2. Copy to the folder shown
  3. Enable extension in php.ini file
  4. Remember to Restart web server

PHP.ini settings:

i) Server DateTme

Consult php documentation to get timezone information. It is usually in the format Europe/London. Locate the following entry and edit as needed.

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Europe/London

ii) Enable extensions

add the following lines to extensions section of the php.ini file to enable extensions required.

Note: extensions end in .dll for windows and .so for *nix systems.
Also Note: Enabling extensions in Debian 7+ releases may be through installing additional php "packages" rather than just creating these entries.

extension=ixed.5.3.win // SourceGaurdian win extension. Example entry PHP 5.3 NON ThreadSafe
extension=php_openssl.dll // or ..so file
extension=php_ldap.dll // or ..so file

Please check entries in php.ini file accordingly. In many cases it may just need to remove the comment before the extension like in this sample entry ;extension=php_ldap.dll.

Curl

If you plan to use the desk with other products, it is a good idea to install curl as well. It should already be available if installing via XAMPP.