help with php and iis 4

Sharky Forums


Results 1 to 2 of 2

Thread: help with php and iis 4

  1. #1
    Reef Shark
    Join Date
    Jun 2001
    Location
    Allen Park
    Posts
    366

    help with php and iis 4

    alright...i have iis 4 and php installed...php automtically configured settings for iis 4. i can run .php files fine from my webserver but embedded php code in a .htm file will not run. can anyone help me out? i tried reading through the faqs on the main php website but no luck

    i added c:\php to the Path environment variable

    i messed around with these settings in php.ini file:
    cgi.force_redirect = 0
    ;cgi.redirect_status_env = ;

    tried changing them to:
    cgi.force_redirect = 1
    cgi.redirect_status_env = Path

    ...but that didnt seem to make a difference. please help.

  2. #2
    Reef Shark
    Join Date
    Jun 2001
    Location
    Allen Park
    Posts
    366
    nevermind....im an idiot. im going to assume that any file with php code has to have a .php extension, even though it still has html in it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •