不會是含了某个文件的問題, realyfly(我爱和平) :你說的php.ini配置的有问题,會在哪些地方??

解决方案 »

  1.   

    贴出这个的配置?
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Paths and Directories ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;
      

  2.   

    to :goodname(心灰意冷) 
    麻煩你看看!!我沒有動什麼!;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Paths and Directories ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;; UNIX: "/path1:/path2"  
    ;include_path=".:/php/includes"
    ;
    ; Windows: "\path1;\path2"
    ;include_path=".;c:\php\includes"; The root of the PHP pages, used only if nonempty.
    ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ; if you are running php as a CGI under any web server (other than IIS)
    ; see documentation for security issues.  The alternate is to use the
    ; cgi.force_redirect configuration below
    doc_root=; The directory under which PHP opens the script using /~usernamem used only
    ; if nonempty.
    user_dir=; Directory in which the loadable extensions (modules) reside.
    ;extension_dir=./
    extension_dir=C:\php\extensions
    ;extension_dir=C:\php
    ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ; disabled on them.
    enable_dl=Off; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ; turn it off here AT YOUR OWN RISK
    ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    cgi.force_redirect=off; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 
    ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ; cgi.redirect_status_env=;
      

  3.   

    程序行如下:editor窗口:
    <?php
    phpinfo();
    ?>
    我點 html 窗口或 run 就有那錯誤?以前是找不到服務器什麼的,我沒改什麼,現在能找到服務器就有這錯誤
    。PWS 很不穩定還有很多的現象。
    Warning: Failed opening 'C:\Inetpub\wwwroot\file:\D:\laker\php\test.php' for inclusion (include_path='.;c:\php4\pear') in Unknown on line 0
      

  4.   

    还是好好看看phped的选项吧
    我转项目组了,也很少使用phped.
    从前大都用editplus and ultraedit来写程序的,:(
      

  5.   

    我以前出现过这种情况,可能是PHP没装好。
      

  6.   

    php4.2?我以前也碰到过这样的情况,解决不了!唉~~~
      

  7.   

    大家幫忙, 這問題不解決,就不好調試,pws換成了apache 也是一樣意思的錯誤(找不到文件)但在 ie 中我能運行 php 程序