1: 看 include("test.inc"), 后面有没有分号
2: 看你的TEST。INC是否存在
3:最好改成test.ini.php

解决方案 »

  1.   

    改成include "test.inc";试试,并保证test.inc文件的存在
      

  2.   

    你test.inc 里是不是有错?看一看
    把你的错误信息贴出来看一下
      

  3.   

    你的错误在哪一行呀??应该有提示吧。
    我看应该是你的test.inc中有错误。
      

  4.   

    不要忘了设定php.ini中的include_path包含你放test.inc的路径。