prompt to save/open php file instead of displaying WP site locally (6 posts)

  1. andymcleod
    Posted 7 years ago #

    whenever I try to go to localhost/wordpress in Firefox I get a prompt to save/open a php file (it does not give me the name of the file) instead of displaying the WP site properly. is there a firefox, MAMP, or wp setting I am missing somewhere? has anyone else run into this problem?

    a screengrab of the prompt is here

    any help would be appreciated.

  2. esmi
    Forum Moderator
    Posted 7 years ago #

  3. fas.khan
    Posted 6 years ago #

    I am getting this on my website, live!


    any help?

  4. Samuel B

    Posted 6 years ago #

    then php is not installed or working properly on your server

  5. fritzthecat
    Posted 6 years ago #

    esmi - that's not very helpful
    "It's a MAMP setting issue."
    what settings?

    the link doesn't mention anything

  6. fritzthecat
    Posted 6 years ago #

    I solved it by commenting out
    AddHandler application/x-httpd-php5 .php

    from .htaccess

Topic Closed

This topic has been closed to new replies.

About this Topic