Table of Contents
data
from the URL..htaccess
if you use Apache (Option AllowOverride All
).This guide will help you to setup step by step Kanboard on a Windows Server with Apache and PHP.
Note: If you have a 64 bits platform choose “x64” otherwise choose “x86” for 32-bit systems.
PHP and Apache are compiled with Visual Studio so you need to install this library if it’s not already done.
vcredist_x64.exe
or vcredist_x86.exe
according
to your platformC:\Apache24
Define the server name:
Open the file C:\Apache24\conf\httpd.conf
and add the directive:
ServerName localhost
Open a command prompt (cmd.exe
) and go to the directory
C:\Apache24\bin
:
cd C:\Apache24\bin
# Install the windows service
httpd.exe -k install
C:\Apache24\bin\ApacheMonitor.exe
, or put it in
your startup folder.Go to http://localhost/ you should see a blank page with the text “It works!”.
C:\php
php.ini-production
to php.ini
Edit the php.ini
:
Uncomment 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
The list of supported time zones can be found in the PHP documentation.
Load the PHP module for Apache:
Add this configuration in the file 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"
# change 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();
?>
Go to http://localhost/phpinfo.php and should see all information about your PHP installation.
C:\Apache24\htdocs\kanboard
This guide will help you to setup step by step Kanboard on a Windows Server with IIS and PHP.
You need at least, these extensions in your php.ini
:
extension=php_gd2.dll
extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_openssl.dll
extension=php_pdo_sqlite.dll
Do not forget to set the time zone:
date.timezone = America/Montreal
The list of supported time zones can be found in the PHP documentation.
The Kanboard archive contains a web.config
file to enable URL
rewriting. This configuration require the Rewrite module for
IIS.
If you don’t have the rewrite module, you will get an internal server
error (500) from IIS. If you don’t want to have Kanboard with nice URLs,
you can remove the file web.config
.
C:\inetpub\wwwroot\kanboard
data
is writable by the IIS user