Installation on Microsoft Windows Server
- Change the default username/password.
- Prevent public access to the
data
directory via the URL. - Enable
.htaccess
if you use Apache (OptionAllowOverride All
). - It is your responsibility to configure your server correctly.
Windows Server and Apache
This guide provides step-by-step instructions to set up Kanboard on a Windows Server with Apache and PHP.
Note: If you have a 64-bit platform, choose “x64”; otherwise, choose “x86” for 32-bit systems.
Visual C++ Redistributable Installation
PHP and Apache are compiled with Visual Studio, so you need to install this library if it’s not already installed.
- Download the library from the official Microsoft website.
- Run the installer
vcredist_x64.exe
orvcredist_x86.exe
according to your platform.
Apache Installation
- Download the Apache binary from Apache Lounge.
- Unzip the
Apache24
folder toC:\Apache24
.
Define the server name:
Open the file C:\Apache24\conf\httpd.conf
and add the directive:
ServerName localhost
Install the Apache Service
Open a command prompt (cmd.exe
) and navigate to the directory C:\Apache24\bin
:
cd C:\Apache24\bin
# Install the Windows service
httpd.exe -k install
Install ApacheMonitor
- Double-click on
C:\Apache24\bin\ApacheMonitor.exe
, or add it to your startup folder. - Right-click on the icon and start Apache.
Check the Apache Installation
Visit http://localhost/. You should see a blank page with the text “It works!”.
PHP Installation
- Download the latest stable version of PHP from the official PHP website. Choose the Thread Safe version and ensure it matches the Apache build type (x86 or x64).
- Unzip the files to
C:\php
. - Navigate to the PHP folder and rename the file
php.ini-production
tophp.ini
.
Edit the php.ini
file:
Uncomment the extension directory:
extension_dir = "C:/php/ext"
Uncomment these PHP modules:
extension=php_gd2.dll
extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_openssl.dll
extension=php_pdo_sqlite.dll
Set the time zone:
date.timezone = America/Montreal
Refer to the PHP documentation for a list of supported time zones.
Load the PHP module for Apache:
Add the following configuration to C:\Apache24\conf\httpd.conf
:
LoadModule php5_module "c:/php/php5apache2_4.dll"
AddHandler application/x-httpd-php .php
# Configure the path to php.ini
PHPIniDir "C:/php"
# Update this directive
DirectoryIndex index.php index.html
Restart Apache.
Test your PHP installation:
Create a file named phpinfo.php
in the folder C:\Apache24\htdocs
:
<?php
phpinfo();
?>
Visit http://localhost/phpinfo.php. You should see detailed information about your PHP installation.
Kanboard Installation
- Download the zip file.
- Extract the archive to
C:\Apache24\htdocs\kanboard
. - Open your web browser and navigate to http://localhost/kanboard/.
- The default credentials are admin/admin.
Windows Server and IIS
This guide provides step-by-step instructions to set up Kanboard on a Windows Server with IIS and PHP.
PHP Installation
- Install IIS on your server (add a new role and enable CGI/FastCGI).
- Follow the official PHP installation documentation:
PHP.ini Configuration
Ensure the following extensions are enabled in your php.ini
file:
extension=php_gd2.dll
extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_openssl.dll
extension=php_pdo_sqlite.dll
Set the time zone:
date.timezone = America/Montreal
Refer to the PHP documentation for a list of supported time zones.
- Ensure the required PHP extensions are enabled.
- If you encounter an error about “the library MSVCP110.dll is missing,” download the Visual C++ Redistributable for Visual Studio from the Microsoft website.
IIS Modules
The Kanboard archive includes a web.config
file to enable URL rewriting. This configuration requires the Rewrite module for IIS.
If the rewrite module is not installed, you will encounter a 500 Internal Server Error. If you prefer not to use URL rewriting, you can remove the web.config
file.
Kanboard Installation
- Download the zip file.
- Extract the archive to
C:\inetpub\wwwroot\kanboard
. - Ensure the
data
directory is writable by the IIS user. - Open your web browser and navigate to http://localhost/kanboard/.
- The default credentials are admin/admin.