I am using php and IIS 7.5. Other details of the error:
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 has the following code :
<?php
class Persons {
function say_hello() {
echo "Hello my name is Sithelo Ngwenya. <br/>"
}
}
$person = new Persons();
echo get_class($person) . "<br/>";
?>
How do I fix the error?
echo "Hello my name is Sithelo. <br/>"in you function is missing a;.