在本地搭建PukiWiki服务器环境(php/XAMPP安装步骤)
PukiWiki是什么?
从官方网站上获取
通常被称为「Wiki」(正确应为:WikiWikiWeb)的工具之一。
这是一种可以在自己的服务器或租用服务器上运行的工具。
x服务器还有一种可以轻松安装的机制。
我希望搭建开发环境,所以我在本地环境中安装了PukiWiki。
开发环境
Windows10 个人版
XAMPP(版本3.3.0)
PukiWiki(版本1.5.4)
PHP 版本8.1.20
安装XAMPP
请从上述网址下载Windows适用的安装程序。








尝试启动Apache

按下Apache的启动按钮,Apache将启动。
更改本地主机端口
有另外一些服务在使用Port与Listen,导致Apache无法启动的错误发生了。作为解决办法,可以停止正在使用的端口或者更改XAMPP的端口。
更改XAMPP的端口可以按照以下方法进行。

可以直接更改以下目录:
c:\xampp2\mysql\bin\my.ini也是可以的。
将位于第60行左右的”Listen 80″更改为您喜欢的数值。
将位于第228行左右的”ServerName localhost:80″更改为您喜欢的数值。
请在更改后重新启动Apache。
检查本地服务器是否已启动(XAMPP)
尝试访问 http://localhost:80/ 或更改后的服务器名称。

下载PukiWiki
从下面的网站下载PukiWiki的主体文件。
将下载的文件放在 C:\xampp\htdocs\ 目录下。

本地主机确认(PukiWiki)
我们将进行启动确认。从服务器名称开始的URL基本上与文件名相同,没问题。
例:http://localhost:80/pukiwiki-1.5.4_utf8/ 的汉语翻译

没问题,我成功启动了!辛苦了。
这种方法可能也可以用于其他的PHP网站环境构建,所以请务必参考一下。XAMPP很容易使用,很好用吧。