How to Install PukiWiki on Windows 11

PukiWiki is a popular wiki software written in PHP. This tutorial will guide you through the process of installing PukiWiki on a Windows 11 machine.

Prerequisites

Before proceeding, make sure the following requirements are met:

Step 1: Download PukiWiki

  1. Go to https://pukiwiki.osdn.jp/ and click the "Download" button.
  2. Choose the latest version and download the ZIP file to your local machine.
  3. Extract the ZIP file to a directory of your choice.

Step 2: Configure Apache

  1. Open the httpd.conf file for Apache.
  2. Uncomment the following lines:
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule php7_module "C:/Program Files/PHP/php7apache2_4.dll"
AddHandler php7-script php
  1. Set the DocumentRoot to the PukiWiki directory.
DocumentRoot "C:/path/to/pukiwiki"
<Directory "C:/path/to/pukiwiki">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Require all granted
</Directory>
  1. Restart Apache.

Step 3: Configure PukiWiki

  1. Open the config directory in PukiWiki.
  2. Rename config.ini.php.default to config.ini.php.
  3. Edit config.ini.php according to your needs.
  4. Set the $base_url variable to the URL of your wiki.
$base_url = "http://localhost/pukiwiki/";

Step 4: Install PukiWiki

  1. Open your web browser and go to http://localhost/.
  2. Click the "install" link and follow the prompts to install PukiWiki.
  3. Once installation is complete, delete the install.php file for security.

Conclusion

Congratulations! You have successfully installed PukiWiki on a Windows 11 machine. You can now start using and customizing your wiki.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!