大家好,我是PHP新手,用一个简单的例子来讨论我的问题
我的文件index.php上有一个代码
<?php
echo $a;
?>当我在本地服务器上运行这段代码时,它会显示错误-
Notice: Undefined variable: a in D:\My website\index.php on line 5但是当我在服务器上托管这个文件并运行时,它会显示出以下错误-
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.为什么它不像在本地服务器上显示的那样显示实际错误?
发布于 2015-04-25 15:35:48
https://stackoverflow.com/questions/29867108
复制相似问题