PassMark Logo
Home » Forum

PHP doesn't run "Do you want to open or save this file?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • janewriting
    Junior Member
    • May 2006
    • 7

    #1

    PHP doesn't run "Do you want to open or save this file?

    I have just moved my site http://www.healthandgoodness.com between hosts and everything is working fine except the search.

    Now when you click on 'search this site' you get asked if you want to open or save this file.

    The link in Dreamweaver is correct
    :http://www.healthandgoodness.com/search/search.php

    so any help with what I need to do please?

    (I have another site hosted by the same people and the search works just fine)
    Jane Thurnell-Read

    for tips, information and inspiration on living a happier, healthier life
  • ucd2k2
    Junior Member
    • Jul 2006
    • 10

    #2
    Looks like php support is not on, so the browser thinks you are sending the user a .php text file.

    Comment

    • janewriting
      Junior Member
      • May 2006
      • 7

      #3
      thank you
      it worked
      Jane Thurnell-Read

      for tips, information and inspiration on living a happier, healthier life

      Comment

      • shulink
        Newbie
        • Aug 2007
        • 1

        #4
        hi, how to turn on the php support? is that a line in php.ini?

        Comment

        • David
          Administrator
          • Dec 2004
          • 4714

          #5
          You have to have install PHP on your web server. You can download the install package from the PHP web site. If you already have PHP installed and see this "Do you want to open or save this file" error, then you probably don't have your web server configured correctly. You web server should call the PHP module when the web server encounters a .php file.

          There are PHP installation instructions on the PHP web site.

          Comment

          Working...