etiny
April 8, 2023, 9:33pm
1
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”:
I renamed the file “php.ini-production” to “php.ini”
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
I set the time zone (added the time zone from the thesemanual)
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
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.
etiny
April 9, 2023, 8:36am
2
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:
Please, could you help me? Did I forget something uncomment in php file or so?
Your PHP is not running.
etiny:
#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”
#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
etiny
April 9, 2023, 1:03pm
4
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 .
etiny
April 9, 2023, 1:32pm
6
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
etiny
April 9, 2023, 2:12pm
9
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
etiny
April 9, 2023, 3:08pm
12
Will try and let you know. Thank you
etiny
April 9, 2023, 4:01pm
13
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
FxFx
April 11, 2023, 6:12am
14
I someone else struggles with that. Here is a complete working Kanban for Windows 10. With Apache, MySQL, PHP and SQlite:
Portable.
1 Like
etiny
April 11, 2023, 6:19am
15
Is it fully functional (all features) as original Kanboard? And is it safe to use? Is all the user’s personal information safe?
FxFx
April 11, 2023, 6:22am
16
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
etiny
February 7, 2024, 9:33am
18
Hi. I’ve used Laragon for Windows 10. I did not install Kanboard on Windows Server.