php make test bug64146.phpt,我的網站上的PHP頁面顯示空白

I have searched all over the forums and cannot find a answer to my problem. I have tried to install some CMS that use PHP to my website and all of them are showing up blank. I have enabled error reporting in the php.ini and no erros where shown. I am using Debian 7 to run my server. I have installed apache2, mysql-server, and, php5, php5-mysql, and libapache2-mod-php5. The Configuration File For PHP is accessible here: http://info.ozooma.net/. The CMS Im Currently Using Is Joomla and is accessible here: http://www.ozooma.net/. Thank you in advance for your reply.

我搜遍了整個論壇,找不到問題的答案。我試圖在我的網站上安裝一些使用PHP的CMS,所有這些都顯示為空白。我在php.ini中啟用了錯誤報告,並且沒有顯示錯誤。我正在使用Debian 7來運行我的服務器。我已經安裝了apache2,mysql-server,以及php5,php5-mysql和libapache2-mod-php5。 PHP的配置文件可以在這里訪問:http://info.ozooma.net/。目前正在使用的CMS是Joomla,可在此處訪問:http://www.ozooma.net/。提前感謝您的回復。

4 个解决方案

#1

1

I get this issue a few times a year.

我一年有幾次這個問題。

Here is my debug steps:

這是我的調試步驟:

Make sure apache is running

確保apache正在運行 ps ax | grep httpd | grep -v grep

and that its listening on port 80 for http:

並且它在端口80上偵聽http: netstat -l | grep http

add a index.html to the root dir and check that

將index.html添加到根目錄並檢查

add index.php with

添加index.php

That will normally tell you where its broken up at.

這通常會告訴你它在哪里被打破。

Since your using a CMS, make sure your URL rewrite mod is enabled, and that your config is allowing overrides.

由於您使用的是CMS,請確保您的URL重寫模式已啟用,並且您的配置允許覆蓋。

#2

0

You appear to have a PHP or Apache error.

您似乎有PHP或Apache錯誤。

Check the apache logs, according to your PHP info it is located at: /var/log/apache2

根據您的PHP信息檢查apache日志:/ var / log / apache2

#3

0

Verify a recent version of Joomla (2.5 or 3.x) was installed properly since you're running PHP 5.4. Older versions of Joomla wouldn't run right with PHP 5.4.

驗證最新版本的Joomla(2.5或3.x)是否已正確安裝,因為您運行的是PHP 5.4。較舊版本的Joomla無法使用PHP 5.4運行。

#4

0

Your server Cause of HTTP 500 Errors

您的服務器HTTP 500錯誤的原因

The 500 Internal Server Error is a very general HTTP status code that means something has gone wrong on the web site's server but the server could not be more specific on what the exact problem is.

500內部服務器錯誤是一個非常通用的HTTP狀態代碼,這意味着網站服務器上出現了問題,但服務器無法確切地說明確切的問題。

Most of the time, "gone wrong" means an issue with the page or site's programming, nothing you have anything to do with.

大多數情況下,“出錯”意味着頁面或網站編程存在問題,與您無任何關系。

Note: More specific information about the cause of a particular HTTP 500 error is often provided when it occurs on a server using Microsoft IIS software. Look for numbers after 500 as in HTTP Error 500.19 - Internal Server Error which means Configuration data is invalid.

注意:在使用Microsoft IIS軟件的服務器上發生特定HTTP 500錯誤的原因時,通常會提供更具體的信息。在HTTP錯誤500.19中查找500之后的數字 - 內部服務器錯誤,這意味着配置數據無效。

參考:http://pcsupport.about.com/od/findbyerrormessage/a/500servererror.htm

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值