1.搭建php與mysql環(huán)境小皮官方網(wǎng)址
phpstudy v8.0 新版官方建站教程(圖文)
phpstudy 舊版官方建站教程(圖文)2.將mediawiki下載至電腦MediaWiki官方網(wǎng)" />

国产成人精品无码青草_亚洲国产美女精品久久久久∴_欧美人与鲁交大毛片免费_国产果冻豆传媒麻婆精东

15158846557 在線咨詢 在線咨詢
15158846557 在線咨詢
所在位置: 首頁 > 營銷資訊 > 網(wǎng)站運營 > (Windows)---- mediawiki 結(jié)合 小皮面板(phpStudy)建站小指南

(Windows)---- mediawiki 結(jié)合 小皮面板(phpStudy)建站小指南

時間:2023-08-02 02:12:02 | 來源:網(wǎng)站運營

時間:2023-08-02 02:12:02 來源:網(wǎng)站運營

(Windows)---- mediawiki 結(jié)合 小皮面板(phpStudy)建站小指南:

1.搭建php與mysql環(huán)境

小皮官方網(wǎng)址
phpstudy v8.0 新版官方建站教程(圖文)
phpstudy 舊版官方建站教程(圖文)

2.將mediawiki下載至電腦

MediaWiki官方網(wǎng)址 需要科學(xué)上網(wǎng)
點擊進(jìn)入下載
對Microsoft SQL Server與Oracle Database、HHVM與PHP 7.0、7.1的支持已自MediaWiki 1.34起移除
將下載完畢的zip文件解壓至phpstudy_pro/WWW/你上邊建立的網(wǎng)站域名目錄

如:phpstudy_pro/WWW/http://lionwiki.com

訪問上邊設(shè)置的網(wǎng)站域名

比如我自己的 http://lionwiki.com


如果使用了不兼容的版本 運行出的界面會出現(xiàn)報錯

目前已知錯誤

1. 提示更新

2. 顯示index.php的原始文件頁面 說明php版本不支持當(dāng)前mediawiki運行 如下:

<?php // For broken web servers: ><pre>// If you are reading this in your web browser, your server is probably// not configured correctly to run PHP applications!//// See the README, INSTALL, and UPGRADE files for basic setup instructions// and pointers to the online documentation.//// https://www.mediawiki.org/wiki/Special:MyLanguage/MediaWiki//// -------------------------------------------------/** * The main web entry point for web browser navigations, usually via an * Action or SpecialPage subclass. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * * @file * @ingroup entrypoint */define( 'MW_ENTRY_POINT', 'index' );// Bail on old versions of PHP, or if composer has not been run yet to install// dependencies. Using dirname( __FILE__ ) here because __DIR__ is PHP5.3+.// phpcs:ignore MediaWiki.Usage.DirUsage.FunctionFoundrequire_once dirname( __FILE__ ) . '/includes/PHPVersionCheck.php';wfEntryPointCheck( 'html', dirname( $_SERVER['SCRIPT_NAME'] ) );require __DIR__ . '/includes/WebStart.php';wfIndexMain();function wfIndexMain() { // @todo Deprecate global $mediaWiki // phpcs:ignore MediaWiki.NamingConventions.ValidGlobalName.allowedPrefix global $mediaWiki; $mediaWiki = new MediaWiki(); $mediaWiki->run();}

注意: php8.0以上也不支持

解決辦法:

在小皮面板安裝新版php



安裝完畢以后切換下載的php版本
**還需要將 php擴(kuò)展 中的 intl 擴(kuò)展打開**

否則會出現(xiàn)以下錯誤

解決之后訪問頁面如上圖
點擊 set up the wiki 開始初次安裝mediawiki

之后的操作參照

MediaWiki簡介及安裝 - 本站 (zhihu.com) ----引用自 本站 憶蘭居士

關(guān)鍵詞:小指

74
73
25
news

版權(quán)所有? 億企邦 1997-2025 保留一切法律許可權(quán)利。

為了最佳展示效果,本站不支持IE9及以下版本的瀏覽器,建議您使用谷歌Chrome瀏覽器。 點擊下載Chrome瀏覽器
關(guān)閉