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:
- A Windows 11 machine with Apache and PHP installed.
- Basic knowledge of Apache, PHP, and MySQL.
Step 1: Download PukiWiki
- Go to https://pukiwiki.osdn.jp/ and click the "Download" button.
- Choose the latest version and download the ZIP file to your local machine.
- Extract the ZIP file to a directory of your choice.
Step 2: Configure Apache
- Open the
httpd.conffile for Apache. - 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
- Set the
DocumentRootto the PukiWiki directory.
DocumentRoot "C:/path/to/pukiwiki"
<Directory "C:/path/to/pukiwiki">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
- Restart Apache.
Step 3: Configure PukiWiki
- Open the
configdirectory in PukiWiki. - Rename
config.ini.php.defaulttoconfig.ini.php. - Edit
config.ini.phpaccording to your needs. - Set the
$base_urlvariable to the URL of your wiki.
$base_url = "http://localhost/pukiwiki/";
Step 4: Install PukiWiki
- Open your web browser and go to
http://localhost/. - Click the "install" link and follow the prompts to install PukiWiki.
- Once installation is complete, delete the
install.phpfile for security.
Conclusion
Congratulations! You have successfully installed PukiWiki on a Windows 11 machine. You can now start using and customizing your wiki.