[SOLVED] I can't install Kanboard via Apache on Windows 10

Hi,

I would need your help. I followed this manual to install Kanboard on Windows:[Installation on Microsoft Windows Server - Kanboard Documentation

Everything worked fine unless “PHP installation”:

  1. I renamed the file “php.ini-production” to “php.ini”

  2. After that I uncommented:

extension=gd (I did not find “gd2” in the “php.ini” file)-> extension=ldap
extension=mbstring
extension=openssl
extension=pdo_sqlite

  1. I set the time zone (added the time zone from the thesemanual)

  2. I added these lines to “C:\Apache24\conf\httpd.conf” file (but I had to rewrite some lines because I did not find php5 file, only php8):

LoadModule php8_module “c:/php/php8apache2_4.dll” (rewrited from "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

  1. I restarted Apache and I got this error message: “The requested operation has failed!”

Did I do something wrong? Could you please advise how I can get this working?

Thank you very much.

I’ve just figured it out. I had to add this code (from https://www.php.net/manual/en/install.windows.apache2.php):

"
#before PHP 8.0.0 the name of the module was php7_module
LoadModule php_module “c:/php/php8apache2_4.dll”
<FilesMatch .php$>
SetHandler application/x-httpd-php

#configure the path to php.ini
PHPIniDir “C:/php”
"

But now when I open “http://localhost/kanboard/” I don’t see my login details. Only index_kanboard is shown in my browser:
image

Please, could you help me? Did I forget something uncomment in php file or so?

Your PHP is not running.

#before PHP 8.0.0 the name of the module was php7_module
LoadModule php_module “c:/php/php8apache2_4.dll”
<FilesMatch \.php$>
    SetHandler application/x-httpd-php
</FilesMatch>
#configure the path to php.ini
PHPIniDir “C:/php”

Did you omit the closing </FilesMatch>?

Insert is exactly like this: (including any \ and $ chars)

<FilesMatch \.php$>
    SetHandler application/x-httpd-php
</FilesMatch>
1 Like

Thanks for your reply. I really do not know, how to configure this two files correctly. Please, could you help me? Here are:

Adjust your httpd.conf from my pastebin.

Done. A message pops up after open “http://localhost/kanboard/”:

Internal Error: PHP extension required: “pdo_sqlite”

At least we know, PHP is running now.

I don’t have any Windows system, but I think you should read the docs more carefully!
The name of the extension is php_pdo_sqlite.dll, but you wrote

extension=pdo_sqlite

instead of

extension=php_pdo_sqlite.dll

1 Like

In php.ini there aren’t such lines of code. Should I add it to php.ini?

I assume yes. Follow the Kanboard docs.

And now? Does this story continue?

1 Like

Will try and let you know. Thank you

It helped. I added there all .dll files (php_gd.dll = without “2”). BUT I also had to do this:

ADD THIS LINES to “System variables”
(System Properties → Environment Variables → System variables → PATH (click 2times on it) → New):
→ C:\Apache24
→ C:\php
(without “->”)

Without it Kanboard with .dll files won’t work. Now it works great ;).

Thanks a lot for help.

1 Like

I someone else struggles with that. Here is a complete working Kanban for Windows 10. With Apache, MySQL, PHP and SQlite:

Portable.

1 Like

Is it fully functional (all features) as original Kanboard? And is it safe to use? Is all the user’s personal information safe?

Yes. You may have to change the security tokens, if you want to use it with other users (see documentation on Github).

And as with the original out-of-the-box Installation: you have to take care on web security as with any public hosted software.

The documations decribes what’s included. You can delete or add plugins as with the “normal” setup.

Cheers, Fx

Hi Etiny

I hope all is well? Do you care to pass the installation guide with amendments you did? Been struggling for some time with installing the Kanboard to windows server. Thanks in advance

Hi. I’ve used Laragon for Windows 10. I did not install Kanboard on Windows Server.