dram.me

Termux中运行Kanboard

通过已经步骤可以在Termux中运行Kanboard:

  1. 安装php-apache包;
  2. 这里下载Kanboard源码并解压;
  3. /data/data/com.termux/files/usr/etc/apache2/httpd.conf中添加以下内容:

    LoadModule php7_module /data/data/com.termux/files/usr/libexec/apache2/libphp7.so
    
    <FilesMatch \.php$>
        SetHandler application/x-httpd-php
    </FilesMatch>
    
    <VirtualHost 127.0.0.1:8080>
        DocumentRoot "/data/data/com.termux/files/home/kanboard-1.2.7"
        <Directory "/data/data/com.termux/files/home/kanboard-1.2.7">
            DirectoryIndex index.php
            Require all granted
        </Directory>
    </VirtualHost>
  4. 运行httpd