====== Installing DokuWiki on 32-bit Debian ====== It's 2025, most Linux distributions have dropped support for 32-bit hardware, yet my home web-server still lives on, running Debian 12. Here's how I installed DokuWiki. * Configured Apache2 for PHP by installing the libapache2-mod-php, php-xml, and php-bcmath packages * Downloaded DokuWiki - I went to the /var/www directory and did a "curl -OL https://download.dokuwiki.org/out/dokuwiki-9beb5257bbbc840e687c3b130541d3d2.tgz" followed by "tar xvzf dokuwiki-9beb5257bbbc840e687c3b130541d3d2.tgz", then deleted the tarball with a "rm dokuwiki-9beb5257bbbc840e687c3b130541d3d2.tgz", and went into the dokuwiki directory and changed the conf and data subdirectories' ownership to www-data (to make them writable for Apache), and configured Apache by using the Alias directive "Alias /dokuwiki /var/www/dokuwiki" in "common-000.conf" * Patch to support 32-bit (apparently, this comes from a call to the PHP pack() function) by going to the inc subdirectory, backing up the existing Ip.php file, and then fetching the Ip.php and Ip32.php files from https://raw.githubusercontent.com/dokuwiki/dokuwiki/91da8d440c37d90167dc8ee25e6de7f854a11f1e/inc/Ip.php and https://raw.githubusercontent.com/dokuwiki/dokuwiki/91da8d440c37d90167dc8ee25e6de7f854a11f1e/inc/Ip32.php * Reload the Apache2 service, and in a web browser navigate to the /dokuwiki/install.php path of the web server, following the on-screen instructions