IIS could not find .php file, however it finds html files in the same dir

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • geronimi

    IIS could not find .php file, however it finds html files in the same dir

    IIS could not find .php file, however it finds html files in the same
    dir.....

    http://localhost/test => the default.htm will be hit, no error

    http://localhost/test/test.php => 404 error not found( it exists in the
    dir)

    The security is set ok, something wrong with the php runtime??
    Strange because my application on localhost/prog works smooth.........

    Can anybody help me?

  • Erwin Moller

    #2
    Re: IIS could not find .php file, however it finds html files in the same dir

    geronimi wrote:
    [color=blue]
    > IIS could not find .php file, however it finds html files in the same
    > dir.....
    >
    > http://localhost/test => the default.htm will be hit, no error
    >
    > http://localhost/test/test.php => 404 error not found( it exists in the
    > dir)
    >
    > The security is set ok, something wrong with the php runtime??
    > Strange because my application on localhost/prog works smooth.........
    >
    > Can anybody help me?[/color]


    Hi,

    Your question boils down to "PHP isn't installed right".
    Many things could be causing this.

    Did you read and follow the online installationman uals?

    You can find them here:


    Warning: Do not use the windowsinstalle r, it will be difficult later on to
    add extensions.
    Do it by hand, it is maybe not easy for starters, but you'll have a better
    understanding of how PHP is integrated into IIS.

    By the way: In my experience the ISAPI version is stable for PHP5. (In PHP4
    it had some issues)

    Regards,
    Erwin Moller

    Comment

    • geronimi

      #3
      Re: IIS could not find .php file, however it finds html files in the same dir

      Mmm, but it is strange that the rest of the prog on that iis is working
      fine...........

      I think there is somewhere some setting that is not correct, but I
      checked almost everything.....

      greetz

      Comment

      • Erwin Moller

        #4
        Re: IIS could not find .php file, however it finds html files in the same dir

        geronimi wrote:
        [color=blue]
        > Mmm, but it is strange that the rest of the prog on that iis is working
        > fine...........[/color]

        which prog?

        If you succesfully installed Perl or something, that has little to do with
        PHP, does it?
        [color=blue]
        >
        > I think there is somewhere some setting that is not correct, but I
        > checked almost everything.....[/color]

        You must have missed something. ;-)
        [color=blue]
        >
        > greetz[/color]

        Good luck.

        Regards,
        Erwin Moller

        Comment

        • Ridge Burner

          #5
          Re: IIS could not find .php file, however it finds html files in the same dir


          "geronimi" <webjc007@hotma il.com> wrote in message
          news:1148043614 .696340.46770@i 40g2000cwc.goog legroups.com...[color=blue]
          > IIS could not find .php file, however it finds html files in the same
          > dir.....
          >
          > http://localhost/test => the default.htm will be hit, no error
          >
          > http://localhost/test/test.php => 404 error not found( it exists in the
          > dir)
          >
          > The security is set ok, something wrong with the php runtime??
          > Strange because my application on localhost/prog works smooth.........
          >
          > Can anybody help me?
          >[/color]

          Are you using Server 2003 [Web Edition] ? If so, check if your "Web Service
          Extensions" are configured correctly.
          Here is a link to get you started:


          --Ridge


          Comment

          Working...