除非是同一个网站,也就是你建的web站点,要不是不行的

解决方案 »

  1.   

    在IIS中安装PHP。这样IIS就可以同时解释ASP和PHP了
      

  2.   

    IIS本身就支持ASP,然后在配置PHP,就可以了`~~~没有什么复杂的`~~
      

  3.   

    80端口不能同时让iis和apache占用,方法如上面两个说的(合起来)~
      

  4.   

    apache原本可以支持PHP,据说也有第三方支持ASP的模块……
      

  5.   

    但是apache对ASP的支持不是很好,如果你要都支持的话,建议使用IIS
      

  6.   

    最好使用IIS来解析ASP和PHP,这样没有任何问题,其他没有什么完美解决方案!
      

  7.   

    以下这是PHP的Install中的IIS设置资料:
      
    To install PHP on an NT/2000/XP Server running IIS 4 or newer,
       follow these instructions. You have two options to set up
       PHP, using the CGI binary (php.exe) or with the ISAPI module.   In either case, you need to start the Microsoft Management
       Console (may appear as 'Internet Services Manager', either
       in your Windows NT 4.0 Option Pack branch or the Control
       Panel=>Administrative Tools under Windows 2000). Then
       right click on your Web server node (this will most probably
       appear as 'Default Web Server'), and select 'Properties'.   If you want to use the CGI binary, do the following:
        Under 'Home Directory', 'Virtual Directory', or
        'Directory', click on the 'Configuration' button,
        and then enter the App Mappings tab.    Click Add, and in the Executable box, type:
        c:\php\php.exe (assuming that you have unzipped PHP in c:\php\).
    将PHP安装在c:\php下,然后按着上面的介绍进行IIS的配置就可以了
      

  8.   

    还有下面的:   In the Extension box, type the file name extension you want
        associated with PHP scripts. Leave 'Method exclusions'
        blank, and check the Script engine checkbox. You may also
        like to check the 'check that file exists' box - for a small
        performance penalty, IIS (or PWS) will check that the script
        file exists and sort out authentication before firing up php.
        This means that you will get sensible 404 style error messages
        instead of cgi errors complaing that php did not output any data.    You must repeat from 'Click Add...' for each extension you
        want associated with PHP scripts.
        (.php is recommended. although .phtml and .php3 may be
        required for legacy applications.)    Set up the appropriate security. (This is done in Internet
        Service Manager), and if your NT Server uses NTFS file system,
        add execute rights for I_USR_ to the directory that contains
        php.exe