簡體   English   中英

在Fedora上安裝MediaWiki的問題

[英]issue with installing MediaWiki on Fedora

我正在嘗試在fedora 17上安裝MediaWiki

我已遵循以下說明安裝指南

我到達了一個應該在localhost / wiki頁面上配置MediaWiki的階段。

相反,我得到一個頁面,該頁面指定該目錄下的文件。

看來我的php設置/安裝有問題。

如果您需要我發布其他信息,請告訴我。

關於如何解決此問題的任何想法?


編輯:以下文件可見

[TXT]   api.php 12-Apr-2011 04:07   4.5K     
[DIR]   config/ 12-Jun-2012 12:58   -    
[DIR]   images/ 12-Jun-2012 12:58   -    
[TXT]   index.php   01-Jan-2010 23:09   4.2K     
[TXT]   opensearch_desc.php 21-Mar-2009 18:48   3.0K     
[DIR]   skins/

現在,由於其中顯示了php頁面的源,因此出現以下消息

* This is the main web entry point for MediaWiki.
 *
 * If you are reading this in your web browser, your server is probably
 * not configured correctly to run PHP applications!

任何想法如何配置?

提前致謝

您可以嘗試添加一個

.htaccess

文件到您看到的目錄,其中包括:

Options -Indexes

禁用目錄列表。

編輯:

看一下本地Apache文件夾中的httpd.conf文件。 您還需要修改DirectoryIndex值以顯示index.php:

DirectoryIndex index.php index.html index.htm 

編輯2:

要運行安裝腳本,您需要使'config'目錄對Webserver / apache用戶可寫。

chmod a+w config 

用以下命令重新啟動apache:

service httpd restart

然后重新加載頁面。

高溫超導

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM