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

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -