Previous Next

Thread: Executing .inc Files

Last post 05-09-2008 4:41 AM by brashquido. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 05-08-2008, 4:17 PM

    • whobutsb
    • Not Ranked
    • Joined on 05-08-2008, 8:13 PM
    • Posts 4
    • whobutsb

    Executing .inc Files

    Hello All!

    I just installed my first IIS 6 Build with PHP 5!  Everything is going smoothly except for one hiccup.  When I imported my web page to my IIS server IIS won't read my .inc files that I had written in PHP.  As soon as it gets to the .inc file it stops executing my web page.  Do I need to set up IIS so that it handles .inc files as if they are .php files?

     Thanks for the help!
     

  • 05-08-2008, 4:57 PM In reply to

    • whobutsb
    • Not Ranked
    • Joined on 05-08-2008, 8:13 PM
    • Posts 4
    • whobutsb

    Re: Executing .inc Files

     I just did some tests and found out that .inc files are running.  The problem I'am facing now is that my IIS server can't communicate with my MSSQL Servers.  I tried running a phpinfo(); and saw that MSSQL never even showed up in the information, even though I have php_mssql.ini unquoted in my php.ini file. 

    I'm not sure whats up with this. 

  • 05-09-2008, 4:41 AM In reply to

    • brashquido
    • Top 25 Contributor
    • Joined on 05-22-2006, 12:31 AM
    • Australia
    • Posts 150
    • brashquido

    Re: Executing .inc Files

    I take it that when you say php_mssql.ini you mean php_mssql.dll? Have you verified that your MS SQL server is open to connections? Try doing a telnet to your MS SQL server and port from the server you have PHP installed on.

    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    www.iis-aid.com
    My IIS articles
    My PHP articles
    My How-to guides
Page 1 of 1 (3 items)
Page view counter