Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 關於 安裝時 index.php 檔的權限問題

[复制链接]
ArthurZhan 发表于 2017-7-15 14:09:30 | 显示全部楼层 |阅读模式
您好,我安裝 Discuz 3.3 UTF8 版本的主機環境是 虛擬主機,作業系統是 Linux (版本無法在 cpanel 上顯示),

Apache 的版本是 2.4.23 ;

PHP 的版本是 5.6.26

例如我的網域名稱是 xxx.net

我在安裝的時候是輸入 http://www.xxx.net/install 會出現 Discuz 的第 一個安裝嚮導的畫面

但是當我按下 "我同意" 的時候,就會出現以下錯誤訊息:

-----------------------------------------------------------------------------------------------------------------

Forbidden

You don't have permission to access /install/index.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

------------------------------------------------------------------------------------------------------------------

我查了 http://www.xxx.net/install/index.php 這個檔案的權限是 755

如果我把它改成 777 , 然在瀏覽器執行 http://www.xxx.net/install 的話,就不會出現 Discuz 的安裝嚮導畫面,

卻會直接出現以下錯誤訊息:

-------------------------------------------------------------------------------------------------------------------

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@thinkiss.cheer-live.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

-------------------------------------------------------------------------------------------------------------------

我查了一下 cpanel 的 Error 選項,卻顯示

SoftException in Application.cpp:256: File "/home/help040/public_html/xxx.net/install/index.php" is writeable by group

感覺這個問題都是在權限之間互相矛盾著。

請問我該如何調整或修正這個問題?


謝謝!

crx349 发表于 2017-7-15 14:31:28 | 显示全部楼层
换nginx看看
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-2-6 05:49 , Processed in 0.023787 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表