PHP only showing 500 error -
hello new php , discussing problem simple example
i have code on file index.php
<?php echo $a; ?>
when run code on local server show me error-
notice: undefined variable: in d:\my website\index.php on line 5
but when host file on server , run show following error-
500 - internal server error. there problem resource looking for, , cannot displayed.
why not showing actual error show on local server ?
this error comes web server, not php.
it seems (google search) message "there problem resource looking for, , cannot displayed" coming iis, web server of microsoft.
iis must configured able execute php files.
you can read configuration here
Comments
Post a Comment