![](/img/trans.png)
[英]PHPMailler error (The page cannot be displayed because an internal server error has occurred.)
[英]HTTP Error 500.0 - Internal Server Error The page cannot be displayed because an internal server error has occurred
我正在使用php和IIS 7.5。 錯誤的其他詳細信息:
Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP_via_FastCGI
Error Code 0x00000000
Requested URL http://localhost:80/example.php
Physical Path C:\inetpub\wwwroot\example.php
Logon Method Anonymous
Logon User Anonymous
example.php具有以下代碼:
<?php
class Persons {
function say_hello() {
echo "Hello my name is Sithelo Ngwenya. <br/>"
}
}
$person = new Persons();
echo get_class($person) . "<br/>";
?>
如何解決錯誤?
echo "Hello my name is Sithelo. <br/>"
在你函數缺少;
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.